Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Bulldog)

Lesson 12.12 Intro to Sets

Description

In this lesson, students are introduced to sets as a way to store an unordered, unique list of items.


Objective

Students will be able to…

  • Understand when to choose a set as the appropriate data structure.
  • Create a new set.
  • Populate a set, check if an element is in a set, and remove an item from a set.