Skip to content

Commit a443465

Browse files
committed
Added Challenge 2: console.log - intern's console.log
1 parent 292c897 commit a443465

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎assignments/objects.js‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let example = {
1818
}
1919

2020
// Write your intern objects here:
21-
const internInfo =
21+
const internInfo1 =
2222
{
2323
"id":1,
2424
"name": "Mitzi,F",
@@ -58,15 +58,15 @@ const internInfo5 =
5858
// Once your objects are created, log out the following requests from HR into the console:
5959

6060
// Mitzi's name
61-
61+
console.log(internInfo1.name);
6262
// Kennan's ID
63-
63+
console.log(internInfo2.id);
6464
// Keven's email
65-
65+
console.log(internInfo3.email);
6666
// Gannie's name
67-
67+
console.log(internInfo4.name);
6868
// Antonietta's Gender
69-
69+
console.log(internInfo5.gender);
7070
// ==== Challenge 3: Object Methods ====
7171
// Give Kennan the ability to say "Hello, my name is Kennan!" Use the console.log provided as a hint.
7272
// console.log(kennan.speak());

0 commit comments

Comments
 (0)