Log inGet started
World

ZeroJS

README.md

globals

The minimal global surface installed onto a VM's global JS object.

globals.install(rt, globalObj) seeds globalThis (a self-reference), the undefined/NaN/Infinity values, a console with log/warn/error bound to the engine log (every line prefixed [zerojs]), Object (callable, with Object.keys), Array (with Array.isArray), and the Error, TypeError, RangeError, ReferenceError and SyntaxError constructors. Each error constructor is callable with and without new; instances carry the class prototype, own name/message/stack, and a stack captured from the interpreter's live call stack at construction, so instanceof Error holds for every subclass. Function name and length and prototype constructor are non-enumerable, following the realm's enumerability model.