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
In Espruino, undefined gets cast to 0, so undefined+1===1 which is arguably less likely to cause huge NaN issues - but isn't correct. It should===NaN.
undefined+1===1
NaN
This also causes some different behaviour when someone types this.a++
this.a++
The text was updated successfully, but these errors were encountered:
Fixed now.
Sorry, something went wrong.
No branches or pull requests
In Espruino, undefined gets cast to 0, so
undefined+1===1
which is arguably less likely to cause hugeNaN
issues - but isn't correct. It should===NaN.This also causes some different behaviour when someone types
this.a++
The text was updated successfully, but these errors were encountered: