Closed jcubic closed 1 month ago
That's correct. 'console' is not part of JavaScript, it's an API in the browser. JS-Interpreter is a sandbox, it doesn't grant access to random browser APIs.
You will need to either define the 'console' API (the docs have examples of how to create this) or use 'alert' which is an already defined API in the demos.
Yes, thanks just started reading docs and realized that everything need to be exposed explicitly.
Just found about this project and tried to execute this simple code:
it only step through first statement and when you try to run this code it returns this error in console: