A JavaScript Interpreter.
The only dependency is Acorn, a JavaScript-based JavaScript parser.
import { run } from "runjs.js";
run(`console.log("Hello World!")`);
npm test
- ES5
- ES2015
- Let & Const
- For...of
- Template Literals
- Rest
- Destructuring
- Arrow Function
- Class
- ES modules
- ES2016
- Exponentiation operator