• Unit 2: JavaScript Data Structures

    Arrays, Maps, and Sets are important data structures in JavaScript. In this unit, you will learn how to create and manipulate Arrays. You will also iterate over the arrays to search for specific elements. Additionally, we will introduce Maps and Sets and compare and contrast them with Arrays.

    Completing this unit should take you approximately 2 hours.

    • 2.1: Array Introduction

      An Array is an object that stores multiple values as an ordered data collection. We can apply methods to arrays and treat them much in the same way we treat other types of values. What makes arrays unique because their contained items are indexed (given a numerically ordered place value), allowing for individual, selective, or collective access and modification. We will explore this feature's usefulness, efficiency, and power.

    • 2.2: Using Array Methods

      Now that you know how to create an Array, you will learn about its structure and built-in methods that can help make your code more efficient.  It would be best to watch several videos and practice with JavaScript code.

    • 2.3: Introduction to Maps and Sets

      Maps and Sets are ways to store your data in an ordered collection. They can store multiple values, but the difference is that one uses a key and only stores unique values. The articles in the section explain the difference between the two and examine examples of using both.

    • Unit 2 Assessment

      • Receive a grade