Step 9. JavaScript Objects

Daniel Shiffman introduces "objects" as containers for multiple variables. The first World has simple variables. The second World does the same thing but using variables inside an object.

World

Tutorial 2.3 (0)
JavaScript without Objects

World

Tutorial 2.3 (1)
JavaScript with Objects
Tweet this step: