mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Bump to v4.14.0.
This commit is contained in:
8
zip.js
8
zip.js
@@ -1,4 +1,4 @@
|
||||
var rest = require('./rest'),
|
||||
var baseRest = require('./_baseRest'),
|
||||
unzip = require('./unzip');
|
||||
|
||||
/**
|
||||
@@ -14,9 +14,9 @@ var rest = require('./rest'),
|
||||
* @returns {Array} Returns the new array of grouped elements.
|
||||
* @example
|
||||
*
|
||||
* _.zip(['fred', 'barney'], [30, 40], [true, false]);
|
||||
* // => [['fred', 30, true], ['barney', 40, false]]
|
||||
* _.zip(['a', 'b'], [1, 2], [true, false]);
|
||||
* // => [['a', 1, true], ['b', 2, false]]
|
||||
*/
|
||||
var zip = rest(unzip);
|
||||
var zip = baseRest(unzip);
|
||||
|
||||
module.exports = zip;
|
||||
|
||||
Reference in New Issue
Block a user