“
NaN
is the only JavaScript value that is not equal to itself
”
― 2ality
/* SoloLearn.com - JavaScript Challenge
* by brains */
var x = NaN;
var y = x;
if (x === y)
console.log(true);
else console.log(false);
//-----------------------------
console.log(x, typeof x, y, typeof y, x === y);
a = 0;
b = a;
console.log(a, typeof a, b, typeof b, a === b);
a = Infinity;
b = a;
console.log(a, typeof a, b, typeof b, a === b);
2019 06/22
·
50 Shades of PHP
2019 06/13
·
My First Artificial Intelligence
2019 06/14
·
How This Site Appears
2017 12/26
·
Snow
2017 12/08
·
Web Named Colors
2017 12/07
·
Playing Card
2017 12/02
·
Tic Tac Toe