mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 11:23:43 +01:00
- A function body, after default parameters or plain ones, and eval code check the heap for their function declarations and variables after their `let` and `const` environment is made, so the estimate stays within the limit while the declarations are bound. - Looking for an index getter before spreading a long array takes a unit of fuel for each property it inspects, as well as for each object. - An index accessor with only a setter no longer delays the check of an array of length 4294967295 when spread begins, since reading the elements does not run it. - The eval test with `with` now gives the `with` object an `x`, and the function case declares its own `var x`, so a function closing over the wrong environment fails it.