mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Bump to v3.9.0.
This commit is contained in:
@@ -22,8 +22,8 @@ define(['../function/restParam', './unzipWith'], function(restParam, unzipWith)
|
||||
*/
|
||||
var zipWith = restParam(function(arrays) {
|
||||
var length = arrays.length,
|
||||
iteratee = arrays[length - 2],
|
||||
thisArg = arrays[length - 1];
|
||||
iteratee = length > 2 ? arrays[length - 2] : undefined,
|
||||
thisArg = length > 1 ? arrays[length - 1] : undefined;
|
||||
|
||||
if (length > 2 && typeof iteratee == 'function') {
|
||||
length -= 2;
|
||||
|
||||
Reference in New Issue
Block a user