Skip to content

{} + {} #188

Mar 12, 2019 · 2 comments
Discussion options

You must be logged in to vote

This only happens when the first {} is the first thing on a line.
In the browser example you showed the line has other things first which does not cause it to be seen as empty code block.

With eval it does happen https://codepen.io/anon/pen/YgapOb

In node it doesn't happen vor me either when I just enter {} + {}, but eval('{} + {}') does give NaN (node 11.10.1).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by denysdovhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #106 on February 05, 2021 14:54.