Register - Login - Forgotten Password

Lesson 7: Arrays and Working with Collections in JavaScript

Why keep three scores in three separate variables when they belong to one set? A program can replace `const score1`, `const score2` and `const score3` with `const scores = [82, 91, 76]`, giving one name to the whole collection. This introduces the central idea of an array: several related values organised together so that a program can handle them as a group.

Lesson 7: Arrays and Working with Collections in JavaScript

This lesson just one in the category Introduction to JavaScript. To access this lesson you need to have a valid learner account, ask your parent to register you now.