mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Update doc examples to ES2015.
This commit is contained in:
2
unzip.js
2
unzip.js
@@ -18,7 +18,7 @@ const nativeMax = Math.max;
|
||||
* @returns {Array} Returns the new array of regrouped elements.
|
||||
* @example
|
||||
*
|
||||
* var zipped = zip(['a', 'b'], [1, 2], [true, false]);
|
||||
* const zipped = zip(['a', 'b'], [1, 2], [true, false]);
|
||||
* // => [['a', 1, true], ['b', 2, false]]
|
||||
*
|
||||
* unzip(zipped);
|
||||
|
||||
Reference in New Issue
Block a user