Sign In
Curriculum
First Names
Mark as Completed
First Names
Create a function called
getFirstNames
that takes in an array of objects, each containing
firstName
,
lastName
, and
email
. Destructure the array to get only the
firstName
field from each object and return an array of first names.
Click to go back
Click to go forward
Refresh preview
Console
Submit
Solution
00:00
Previous Lesson
Next Lesson