Skip to content

Instantly share code, notes, and snippets.

@scriptschat
Last active September 24, 2020 12:28
Show Gist options
  • Save scriptschat/cd4d7b3294d7d36e156e566a479eae17 to your computer and use it in GitHub Desktop.
Save scriptschat/cd4d7b3294d7d36e156e566a479eae17 to your computer and use it in GitHub Desktop.
typecoercion while using equality operator
false == 0 //true
false === 0 //false
false == '' //true
false === '' //false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment