Untitled
Take a look at the object we've provided in the code editor. The user object contains three keys. The data key contains five keys, one of which contains an array of friends. From this, you can see how flexible objects are as data structures. let car = { brand: 'Saab', age: 4, data: { model: 'Rust2005', joinDate: 'March 26, 2016', provider: 'RoaBil', agents: [ 'Ole', 'Dole', 'Doffen' ], location: { city: 'Oslo', state: 'Oslo', country: 'Norway' } } };
Leave a Comment