Skip to content

Instantly share code, notes, and snippets.

@anton-gorbikov
Created April 14, 2018 19:50
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 anton-gorbikov/59d3063d5d4857259ecfb6eafc0cac7b to your computer and use it in GitHub Desktop.
Save anton-gorbikov/59d3063d5d4857259ecfb6eafc0cac7b to your computer and use it in GitHub Desktop.
Some words about == and ===
var a = "",
b = 0,
c = "0";
console.log(a == b); //true
console.log(b == c); //true
console.log(a == c); //false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment