Open cpcallen opened 4 years ago
Instance properties like .ERROR, that are likely to be needed by code adding native functions to the interpreter, are renamed by the compiler, causing (e.g.) myInterpreter.createObject(myInterpreter.ERROR) to fail when using acorn_interpreter.js.
.ERROR
myInterpreter.createObject(myInterpreter.ERROR)
acorn_interpreter.js
Instance properties like
.ERROR
, that are likely to be needed by code adding native functions to the interpreter, are renamed by the compiler, causing (e.g.)myInterpreter.createObject(myInterpreter.ERROR)
to fail when usingacorn_interpreter.js
.