4 ms·
I don't even think it is unintuitive. There are very few things here (if any) that make no sense, and a few are literally just basic understanding of floating p
by snet0 5y ago
I don't even think it is unintuitive. There are very few things here (if any) that make no sense, and a few are literally just basic understanding of floating point spec. And then of course a few questions are basically obfuscated-C levels of code, where you won't get the answer correct unless you get your pen and paper out.
I'd argue that if you don't know about type coercion in JS, you don't really know JS. It's a feature; none of these operators will throw; it's a conscious design choice.