In order to understand better why TypeScript was developed, we need to understand the history of JavaScript and the motivations to build it.