Skip to content

Instantly share code, notes, and snippets.

@gabsprates
Created October 19, 2016 02:25
Show Gist options
  • Save gabsprates/3f7760f9dffcd8d512a3ad877a434ce3 to your computer and use it in GitHub Desktop.
Save gabsprates/3f7760f9dffcd8d512a3ad877a434ce3 to your computer and use it in GitHub Desktop.
{} + {} // NaN
({} + {}) // “[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