Log inGet started
World

ZeroJS

README.md

zerojs_smoke tests

End-to-end smoke corpus: each test runs one unmodified, plausible copy-paste JavaScript program through a fresh zerojs.new() VM and asserts the final values against real-JavaScript ground truth. The programs carry no zerojs-specific idioms — each is code a developer could paste from a real project or tutorial.

Covered programs: lodash-style array/object utilities (chunk, uniq, groupBy, pick), a regex-driven CSV line parser with quoted fields and doubled-quote escapes, a {{placeholder}} template renderer using a function replacer, a Map-based word-frequency counter with multi-key sorting and destructuring, a JSON config deep-merge via object spread, a closure-based date-stamped logger using toISOString and padStart, a tokenizer built on the while ((m = re.exec(src)) !== null) loop over a global regex, and a three-level class hierarchy exercised through filter/map and a toJSON round-trip.