Introducing TypeScript

TypeScript is an open source, gradually typed superset of JavaScript created and maintained by Microsoft. It was created to allow developers to supercharge the JavaScript language and to also make it easier to scale applications. Among its main capabilities is providing typing to JavaScript variables. Types in JavaScript enable static checking, thus making it easier to refactor the code and find bugs. And at the end, TypeScript compiles to simple JavaScript code!

Regarding the scope of this book, with TypeScript, we can use some object-oriented concepts that are not available in JavaScript such as interfaces and private properties (this can be useful when working with data structures and sorting algorithms). And of ...

Get Learning JavaScript Data Structures and Algorithms - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.