DEV Community

Discussion on: What is {x:1} and why does it return 1 🤷‍♂️

Collapse
 
shrihankp profile image
Shrihan

Firefox does a very good job to execute the JavaScript as it would in a JavaScript file. Chrome's implementation is Ok, if you're quickly prototyping something(and maybe, you're lazy 😂), but this hides what the actual thing is.