Intermediate

TypeScript Foundations Arrays and Collections

This course covers four specific data structures: arrays, tuples, sets and maps. The main goal is to understand how these structures work in TypeScript.

It is important to remember that TypeScript is a superset of JavaScript: it is built on top of the JavaScript language. Some of these collections already existed in JavaScript even before TypeScript appeared. This is why each collection is first presented in its pure JavaScript version, before discussing the specific contributions of TypeScript — this allows you to better distinguish what belongs to one or the other.

Collections are data structures often integrated directly into programming languages. They allow groups of data to be stored and manipulated much more efficiently than storing them separately in multiple variables.

Sign in to read this course

A free account unlocks all 514 courses. 20 are readable without one.

What's inside

8 sections
  1. 1 Table of Contents
  2. 2 Introduction to Collections
  3. 3 Arrays
  4. 4 Tuples
  5. 5 Sets
  6. 6 Maps
  7. 7 Comparative table of the four collections
  8. 8 Demo files

Interested in this course?

Contact us to book it or get a custom training plan for your team.