Data Structures 101

introduction to sets and maps in Javascript

We'll cover the following...

This lesson introduces some data structures that we often use during coding: sets and maps. Using these data structures prevents us from reinventing the wheel.

A set is an unordered collection of distinct elements. An element is said to be a member of the set, if the set contains the element. Adding an element to the ...