4 ms·
1 == 1 == 1 is actually true in Javascript due to type coercion You're probably thinking `1 === 1 === 1` which is indeed false
by pcthrowaway 2y ago
1 == 1 == 1 is actually true in Javascript due to type coercion
You're probably thinking `1 === 1 === 1` which is indeed false
- dartharva 2y agoI tried 2 == 2 == 2 in my browser's (Chrome) console and it evaluated to false.
- Buttons840 2y agoI stealth edited my post. Sorry.