patrickdw
Registrato in data
Aggiornamenti alla documentazione
Mostra tutte le attivitàPagina | Data | Commento |
---|---|---|
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)` |