Lesson 03 · JavaScript
JavaScript Foundations: Arrays & Objects
The two workhorse structures of JavaScript: ordered arrays with their core methods, labeled objects, dot versus bracket access, and nesting them together.
Prerequisites: JavaScript Foundations: Functions & Control Flow
Learning objectives
By the end of this lesson, you will be able to:
- Create arrays and objects with literal syntax
- Read and update items by index and property name
- Add and remove array items with push, pop, shift and unshift
- Choose between dot and bracket access for object properties
- Build and navigate structures that nest arrays inside objects