PRACTICE / UNDERSTAND / REPEAT

JavaScript practice question

Practice arrays with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

1 questionAnswers explainedFree · no login

Try this question

Arrays · MCQQuestion link ↗

What does `map()` return?

Choose one answer
Answer & explanation

Answer: A new array containing each callback result

`map()` builds a new array from callback return values; it does not mutate the original array by itself.