##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Store data as key-value pairs
What you'll learn
Object literals
Accessing properties
Dynamic access
Test your understanding
Changing objects
Removing keys
Cleaner syntax
Dynamic keys
Test your understanding
Functions as properties
Referencing the object
Test your understanding
Getting property names
Getting property values
Getting key-value pairs
Test your understanding
in and hasOwnProperty
Iterating properties
Copying and merging
Modern merging
Test your understanding
Extracting properties
Fallback values
Deep extraction
Test your understanding
How objects are stored
Copying nested objects
Test your understanding
Safe property access
Creating and accessing
keys, values, entries
Combining data
Test your understanding
Complete example
What to avoid
Preparing for combined data
Summary of key concepts