mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 02:21:53 +00:00
A call to a function with a rest parameter built the array of its extra arguments without reserving room for it, so `f.apply(null, big)` could push the heap estimate past the limit. The call now counts the rest array, its binding and one property per extra argument in the room it reserves before the function's environment is made.