3 ms·
So the real problem is passing wrong parameters to a function? Sounds like you should swap to something like TypeScript for strict typing then. Or you know, st
by path411 12y ago
So the real problem is passing wrong parameters to a function? Sounds like you should swap to something like TypeScript for strict typing then.
Or you know, stop acting like JavaScript is unique in that improper function calling breaks your code.
I can't believe in 2015 there are still people who follow the "JavaScript equalities are WTF" mentality. If you are running into equality operator problems in JS, you are probably going to run into a myriad of problems in any language.
- untitaker_ 12y agoExcept in any decent language, however typed, improper function calling creates errors. I can't believe in 2015 there are still people who follow the "invalid input should produce invalid output" mentality.