mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-04 08:04:37 +08:00
A sloppy-mode function called with undefined or null as this reads the global object, which answers builtin globals through the program's lookup. Modules whose sloppy-mode functions read builtin globals through this, or through a variable it initializes, now install that lookup; it answers those names, or every declared global when a module reads the global object by computed names.