- Course
TypeScript Foundations: Arrays and Collections
This course will teach you the main collection types in the TypeScript programming language - arrays, tuples, sets, and maps. For each collection type, you’ll learn how to declare and manipulate data while maintaining type safety.
- Course
TypeScript Foundations: Arrays and Collections
This course will teach you the main collection types in the TypeScript programming language - arrays, tuples, sets, and maps. For each collection type, you’ll learn how to declare and manipulate data while maintaining type safety.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
JavaScript developers can use TypeScript to write code that leads to fewer runtime errors and an enhanced developer experience through better tooling.
In this course, TypeScript Foundations: Arrays and Collections, you’ll learn to use the four main collection types in a type-safe way - arrays, tuples, sets, and maps.
First, you’ll get a refresher on the main operations with all four collections, and then understand how types fit in.
Next, you’ll learn techniques like iteration and immutability with type safety in mind.
Finally, you’ll see a summary of how all 4 compare to each other.
When you’re finished with this course, you’ll have the skills and knowledge of the four main collection data structures in TypeScript needed to start adopting them in your applications.