Embracing Type Systems in JavaScript

One of the proposed benefits of JavaScript development was the ability to move quickly and not have to worry about taking the time to set up types and interfaces. You were able to just code and let JavaScript infer intention by coercing strings to integers and so on. Unfortunately, this came with a whole host of other problems such as: undefined is not a function and cannot access property x of undefined.


Source: https://www.phase2technology.com/feed/