mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
- `delete x` through the global environment clears the global `var` record when it deletes the global object's own property. `delete this.x`, and `delete x` on a name the global object only inherits, keep it, so a later `let x` is still a SyntaxError (ECMA-262 2015 sections 12.5.3.2 and 8.1.1.4.7). - A 5.1-edition `var` on a name the global object only inherits makes no property and is no longer recorded as a global `var`. - Spread allows a result of exactly 4,294,967,295 elements and throws a RangeError only past it. An index setter without a getter no longer puts off the length check, and the check takes fuel for each property it looks at. - A body after default parameters checks each function declaration and variable against the heap just before it is made. - Tests: the spread heap sweep fails on an unexpected setup error and needs one complete spread; the body sweep counts only stops after the default value was made and reads the heap estimate before the next run. - Docs: the earlier ES2015 test262 counts are labeled as the counts before classes were added.