Sign In
First Names
Beginner
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
Back to Exercises