Object concepts
Nested object
An object property can hold another object. Accessing nested data requires each intermediate base to exist; replacing an outer object does not automatically duplicate nested objects.
Formal Syntax & Structure
javascript syntaxjavascript
record.child.fieldWorking Example
Example Snippetjavascript
const a={child:{n:2}};console.log(a.child.n);