Please enable JavaScript to use CodeHS

AP Computer Science Principles in JavaScript

Lesson 7.1 Intro to Lists/Arrays

Description

In this lesson, students learn about lists/arrays and how to access an element in an array with an index so they can create ordered collections of items and use them in their programs.


Objective

Students will be able to:

  • Define an array
  • Access certain elements of an array by using an index