mirror of
https://github.com/angular/angular.git
synced 2026-11-24 23:47:51 -05:00
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