NeilFraser / JS-Interpreter

A sandboxed JavaScript interpreter in JavaScript.
Apache License 2.0
1.98k stars 353 forks source link

Important instance properties renamed by compiler #188

Open cpcallen opened 4 years ago

cpcallen commented 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.