-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
Add is-nan expression #5494
Comments
I know people make fun of Javascript for |
Keeping NaN has its own awkwardness... e.g., when If we are going to allow NaN, though, we should add an |
An error, like other conversion expressions.
👍 |
Along with adding |
Related: #4172. |
I'm closing this as not necessary anymore since we added NaN handling in expression validation with #8615 |
We currently don't have very robust NaN handling in expression evaluation. For instance,
["typeof", ["^", -1, 0.5]]
yields "number", even though the ^ expression produces a NaN.The text was updated successfully, but these errors were encountered: