You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUT interestingly you'd expect this.a++ to return undefined, while setting this.a to NaN - so actually this.a++ needs to try and cast what it returns to a Number.
The text was updated successfully, but these errors were encountered:
a++
should error witha is not defined
butthis.a++
should just returnNaN
.NOTE: The NaN issue is covered here: #146
BUT interestingly you'd expect
this.a++
to return undefined, while setting this.a to NaN - so actuallythis.a++
needs to try and cast what it returns to a Number.The text was updated successfully, but these errors were encountered: