Interpreter.this

Constructs a new Interpreter with a global context. Note that all calls to evaluate run in a new context below the global context. This allows keywords such as let and const to not pollute the global namespace. However, scripts can use var to declare variables that are global.

class Interpreter
this
()

Meta