3 ms·
Psht, floating point WTF's are for noobs. == is where the money is at. Straight from my V8 console: >>> x = new Boolean; false >>> b = (x || !x);
by andreyf 17y ago
Psht, floating point WTF's are for noobs. == is where the money is at. Straight from my V8 console:
>>> x = new Boolean;
false
>>> b = (x || !x);
false
>>> Boolean(b == false) && Boolean(x == false) && Boolean(b) && Boolean(x)
true