Update snippet descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-22 20:24:44 +03:00
parent 5cb69e3c5c
commit aa425812b4
40 changed files with 151 additions and 87 deletions

View File

@ -5,7 +5,7 @@ tags: array,intermediate
Creates an array of arrays, ungrouping the elements in an array produced by [zip](/js/s/zip).
- Use `Math.max.apply()` to get the longest subarray in the array, `Array.prototype.map()` to make each element an array.
- Use `Math.max()`, `Function.prototype.apply()` to get the longest subarray in the array, `Array.prototype.map()` to make each element an array.
- Use `Array.prototype.reduce()` and `Array.prototype.forEach()` to map grouped values to individual arrays.
```js