Files
vectorcraft/crates/engine
dotCooCoo 4cfa6a8434 JavaScript: module namespaces, global deletes and module loading follow ES2015
- A read or write that reaches a module namespace through a prototype
  chain checks the export's temporal dead zone and refuses the write;
  for-in over a namespace lists its keys without reading the exports.
- `delete this.x` and a delete inside `with` remove only the property,
  so a later `let x` is still a SyntaxError.
- An arrow function's `length` is configurable.
- `let [` cannot start the body of if, else, while, for or a label.
- A specifier with an unpaired surrogate parses; the loader refuses it
  before reading any file.
- Each module's code counts against the heap from when it loads, and
  export lookups use an index instead of copying export lists.
- A module reached again through another path is not read or counted
  against the 32 MiB source limit again, its relative imports are read
  from the folder the file is in, and on Windows two files whose names
  differ only in case in a case-sensitive folder stay two modules.
- `$.evalFile` in a module reads beside that module.
- `script.run` takes `module`, and a `.mjs` file picked on the web runs
  as a module.
- Without `es2015`, the compiler does not collect the block scopes that
  only Annex B block functions read.
- The test262 runner grades negative module tests by their phase and
  counts panics on their own.
2026-11-22 15:54:53 -08:00
..