Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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)`