{}+{} incosistency

Awal Garg awalgarg at gmail.com
Thu Apr 14 12:54:17 UTC 2016

Only the first `{}` is a statement. After that you have `+` which starts an
expression, and `+{}` evaluates to `NaN`, which is, as expected, the result
in all other browser devtools and repls.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160414/bd3f4145/attachment.html>

More information about the es-discuss mailing list