4 ms·
> Everything depends how the course is taught, not on the language used. Usually this statements holds true, but not in this case. I mean, after all we are tal
by romanovcode 9y ago
> Everything depends how the course is taught, not on the language used.
Usually this statements holds true, but not in this case. I mean, after all we are talking about language where `'0' == false` is `true`.
- inimino 9y agoEvery language with loose typing has some edge cases. Once students know that JS has type coercion, and how to avoid this entire class of problems, they never need to know or think about what "0" == false evaluates to.