Exercise 3.5
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
const people = {friends:[]};
|
||||||
|
const friend1 = {first: "Laurence", last: "Svekis", id: 1};
|
||||||
|
const friend2 = {first: "Jane", last: "Doe", id: 2};
|
||||||
|
const friend3 = {first: "John", last: "Doe", id: 3};
|
||||||
|
people.friends.push(friend1, friend2, friend3);
|
||||||
|
console.log(people);
|
||||||
Reference in New Issue
Block a user