Skip to content

Instantly share code, notes, and snippets.

@shallaa
Created September 20, 2017 07:58
Show Gist options
  • Save shallaa/a5c47c297164ab31a4633d088d77ca0a to your computer and use it in GitHub Desktop.
Save shallaa/a5c47c297164ab31a4633d088d77ca0a to your computer and use it in GitHub Desktop.
var a = { valueOf() { return null; }, toString() { return null; }};
a + 1 === 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment