=== JavaScript
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"
Lazy Lapwing
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"
// What is === operator in Javascript?
The strict equality operator ( === ) checks whether its two operands are equal, returning a Boolean result.
console.log(1 === 1); //true
console.log(1 === "1"); //false