learn deep. ship safe.Practice testsFollow ByteMunSubscribe

Concept

Objects

Collections of key–value properties, the building block of most JavaScript data.

Concept map

What to learn after Objects

  • Destructuring and spreadSyntax to unpack values from arrays and objects, and to copy or merge them.
  • Immutability and copyingChanging data by making new copies instead of editing in place; shallow vs deep copies.
  • JSONA text format for structured data, read and written with JSON.parse and JSON.stringify.
  • PrototypesJavaScript's inheritance model: objects delegate missing properties to their prototype.
  • Proxy, Reflect and SymbolsLanguage features for intercepting and customising object behaviour.
  • The this keywordThe object a function is called on, decided at call time (except in arrow functions).

Practise Objects

All topics