difference between double equal and triple equal code example
Example: strict equality operator
/**
* Strict equality operator (===) checks if its two operands are identical.
*
* The 'if' statement below will yield to false.
*
* This is because the strict equality operator checks if both the data type AND the value contained are
* the same.
*/
let x = 8
let y = "8"
if (x === y)