We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As mentioned on http://forum.espruino.com/conversations/373559/
var global = "a"; function test(){ var local = "b"; eval('print("global", global)'); eval('print("local", local)'); } test();
prints:
global a Uncaught ReferenceError: "local" is not defined
But it should run in the function's scope.
The text was updated successfully, but these errors were encountered:
Fixed now
Sorry, something went wrong.
No branches or pull requests
As mentioned on http://forum.espruino.com/conversations/373559/
prints:
But it should run in the function's scope.
The text was updated successfully, but these errors were encountered: