Skip to content

Instantly share code, notes, and snippets.

@gabsprates
Created October 19, 2016 02:24
Show Gist options
  • Save gabsprates/ecac1848e6534961b190fad947400acf to your computer and use it in GitHub Desktop.
Save gabsprates/ecac1848e6534961b190fad947400acf to your computer and use it in GitHub Desktop.
{} + {} // “[object Object][object Object]”
({} + {}) // “[object Object][object Object]”
eval(‘{} + {}’) // NaN
eval(‘({} + {})’) // “[object Object][object Object]”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment