mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
abb44f7db0
TypeScript downlevels `for-of` loops for ES5 targets. As a result, generated output contains extra code, including a try-catch block, which has code size and performance implications. This is especially important for runtime code where we want to keep it as small as possible. This commit changes `for-of` loops in runtime code to regular `for` loops. PR Close #32157