Direction: Choose the correct option
Q1.
What does the map() function return when used on an array?
Direction: Choose the correct option
Q2.
In React, what do you typically return inside a map callback?
Direction: Choose the correct option
Q3.
Given const numbers = [1,2,3]; What does numbers.map(n => {n} ) produce?
Direction: Choose the correct option
Q4.
Where should you place the key prop when using map?
Direction: Choose the correct option
Q5.
What happens if you forget to return something in a map callback?
