MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

patrickdw

Member since
patrickdw

Recent Docs Activity

View all activity
Page Date Comment

Array.prototype.map()


Array.prototype.map()


Changed querySelectorAll example to put Array.prototype.map in a variable like the previous example and to return a value in the callback instead of treating .map() like .forEach()

Array.prototype.map()


Removed explicit and unnecessary `k.toString()`, and changed `Pk` references to `k`

Array.prototype.map()


Polyfill: `if (thisArg)` excludes falsey values from being set as the `T`. Replaced with `if (arguments.length > 1)`

Array.prototype.forEach()


Polyfill: `if (thisArg)` excludes falsey values from being set as the `T`. Replaced with `if (arguments.length > 1)`