5 ms·
true > 5 > Since one of the operands is a number, JS tries to convert the other one to a number too. `false` converted to a number yields 0, which is not bigge
by JadeNB 4y ago
true > 5
> Since one of the operands is a number, JS tries to convert the other one to a number too. `false` converted to a number yields 0, which is not bigger than 5 — finally, something that makes sense!
You meant that `true`, not `false` which doesn't appear in this partially evaluated version, is numified, right?
- epidemian 4y agoOh, yes. Silly mistake. I've fixed my comment. Thanks for the catch!