using === in javascript code example
Example 1: js ===
5 =='5' // true: ignores type
5 === '5' // false: includes type
Example 2: === javascript
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"
Example 3: 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.