{} + {} #188
-
|
In my browser console (firefox) This is because the first This only happens when the first Apart from the browser console you can also get this quirk using eval: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Not sure if this is a JS issue, looks more as Firefox Devtools implementation Browser example: https://codepen.io/anon/pen/eXVXro Also, I've tested on |
Beta Was this translation helpful? Give feedback.
-
|
This only happens when the first With eval it does happen https://codepen.io/anon/pen/YgapOb In node it doesn't happen vor me either when I just enter |
Beta Was this translation helpful? Give feedback.
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
{} + {}, buteval('{} + {}')does giveNaN(node 11.10.1).