Skip to content

Instantly share code, notes, and snippets.

@razouck
Last active July 28, 2017 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save razouck/140df994964f2fb485cce9131f39948d to your computer and use it in GitHub Desktop.
Save razouck/140df994964f2fb485cce9131f39948d to your computer and use it in GitHub Desktop.
What equals `null`?
var something = 'anything';
console.log(
(something == null)
===
(something === undefined || something === null)
!==
(something === false)
); // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment