MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

SirWinn3r

Member since
SirWinn3r

Recent Docs Activity

View all activity
Page Date Comment

import


Array.prototype.map()


Array.prototype.map() returns a new array and does not change anything in the original array so the example usage should be similar to the one for Array.prototype.filter() (and that makes it clear it returns a new array).