3 ms·
I think people underestimate how often they encounter type errors. Anytime you try to call a property on an object that's undefined, or try to call a function
by joshsaintjacque 7y ago
I think people underestimate how often they encounter type errors.
Anytime you try to call a property on an object that's undefined, or try to call a function that doesn't exist - those are type errors. And they're the most common JS errors we encounter.
Rollbar aggregated the 10 most common JS errors, and virtually all of them are type errors:
https://medium.com/@Iren.Korkishko/10-most-common-javascript-errors-dfdca7dbf3f5 https://medium.com/@Iren.Korkishko/10-most-common-javascript...