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
First of all I don't know if it's a bug or a feature, maybe that's how Espruino is supposed to work, but I couldn't find any reference.
When trying to use variables that are not defined, Espruino is happy to accept them instead of throwing a ReferenceError:
var x = foo; =undefined
function f() {return arguments.length;} f(blahblah); =1
The text was updated successfully, but these errors were encountered:
Yes, it's intentional as there's no nice way to handle errors. Hopefully when exceptions are added I could add the reference errors though.
Sorry, something went wrong.
branch here: https://github.com/espruino/Espruino/tree/ReferenceError
Post on it asking for opinions here: http://forum.espruino.com/conversations/272650/#comment12448624
Merged into master now. Branch deleted.
No branches or pull requests
First of all I don't know if it's a bug or a feature, maybe that's how Espruino is supposed to work, but I couldn't find any reference.
When trying to use variables that are not defined, Espruino is happy to accept them instead of throwing a ReferenceError:
The text was updated successfully, but these errors were encountered: