Learn JavaScript

Lesson 3 of 9 · Objects, Destructuring, Spread and JSON

Module 8 · Objects, Destructuring, Spread and JSON

Full Programs With Objects: A Contact Book, an Inventory, a Config Merger and JSON

Free with an accountReading

Knowing every operation is not the same as building something with them. This lesson builds six complete programs of the kind a working programmer writes in an ordinary week. Each one keeps its data in objects, reads its input, and answers in a few clear lines.

Checking what this lesson needs for you…

What is inside Full Programs With Objects: A Contact Book, an Inventory, a Config Merger and JSON

  1. The shape every program here shares
  2. A contact book
  3. An inventory with nested objects
  4. A config merger with defaults
  5. A JSON round trip from the input
  6. A counting map with an object
  7. Commands through an object of functions