Question: # Mapping In this activity, you will create arrays using the ` map ` function with the following heroines dataset: ` ` ` javascript heroines
# Mapping
In this activity, you will create arrays using the map function with the following heroines dataset:
javascript
heroines
name: "Rapunzel", age:
name: "Mulan", age:
name: "Anna", age:
name: "Moana", age:
;
## Instructions
Use the starter files indexhtml and mapjs provided in the UnsolvedUnsolved folder.
Create an array of just the names from the heroines array.
Create an array of strings for each heroines name, followed by a colon, followed by their age.
## Bonus
Create the array of strings using an arrow function instead.
## Hint
Don't forget to use dot notation to access the values for the object keys.
edX Boot Camps LLC Confidential and Proprietary. All Rights Reserved.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
