mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e95cd2a17a
For element queries that return sufficiently large NodeList objects, using spread syntax to populate the results array causes a RangeError due to the call stack limit being reached. This commit updates the code to use regular "for" loop instead. Fixes #38551. PR Close #39646