Skip to content

Commit 216ee04

Browse files
author
Gill Abada
committed
Completed objects.js challenge 2.
1 parent f1dd7ed commit 216ee04

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

assignments/objects.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,19 @@ const interns = [
5757
// Once your objects are created, log out the following requests from HR into the console:
5858

5959
// Mitzi's name
60+
console.log(interns[0]["first name"]);
6061

6162
// Kennan's ID
63+
console.log(interns[1].id);
6264

6365
// Keven's email
66+
console.log(interns[2].email);
6467

6568
// Gannie's name
69+
console.log(interns[3]["first name"]);
6670

6771
// Antonietta's Gender
72+
console.log(interns[1+3].gender);
6873

6974
// ==== Challenge 3: Object Methods ====
7075
// Give Kennan the ability to say "Hello, my name is Kennan!" Use the console.log provided as a hint.

0 commit comments

Comments
 (0)