Question PRG-JS-0060
MediumWhat does Array.prototype.map return?
- A.
The original array, changed
- B.
undefined
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
JavaScript question
What does Array.prototype.map return?
The original array, changed
undefined
Sign up free to see the answer and a step-by-step explanation.
The number of elements
A new array with the callback's result for each element