Please enable JavaScript to use CodeHS

Video Game Design in JavaScript (2022)

Lesson 8.9 Basics of Objects

Description

In this lesson we introduce students to basic JavaScript objects to store key-value pairs. The “phonebook” or school directory is a good analogy for an object.