2 Equals and 3 equals code example
Example 1: javascript == vs ===
var one = 1;
var one_again = 1;
var one_string = "1"; // note: this is string
console.log(one == one_again); // true
console.log(one === one_again); // true
console.log(one == one_string); // true.
console.log(one === one_string); // false.
Example 2: what is differ between between three equal and two equal
false == 0 => true
false === 0 => false
0 != false => false
0 !== false => true