Answers for "difference between double equal and triple equal"

0

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)
Posted by: Guest on January-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language