Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 843 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 843 Bytes

runjs.js

Build License NPM Size

A JavaScript Interpreter.

The only dependency is Acorn, a JavaScript-based JavaScript parser.

Usage

import { run } from "runjs.js";

run(`console.log("Hello World!")`);

Test

npm test

Support

  • ES5
  • ES2015
    • Let & Const
    • For...of
    • Template Literals
    • Rest
    • Destructuring
    • Arrow Function
    • Class
    • ES modules
  • ES2016
    • Exponentiation operator