Not sure if my word choice is correct either (ironic, I know), but the instructions for this lesson are as follows:
- Create an object called mary. It has the same properties as bob. Her name is Mary Johnson, her phoneNumber is "(650) 888 - 8888" and her email is "firstname.lastname@example.org".
- Create an array called contacts. Put bob in first (at index 0), then mary (at index 1).
- Write a console.log statement that prints out Mary's phone number.
My question is whether step 3 should include some kind of specification/requirement to use the array?
I checked the hint to see and it was about accessing objects in an array...
Then again I'd tried printing using the
mary object directly (just to see) and it passed, so does this lesson care which way you print Mary's number or...?