diff options
Diffstat (limited to 'node_modules/lodash/_createWrap.js')
-rw-r--r-- | node_modules/lodash/_createWrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/lodash/_createWrap.js b/node_modules/lodash/_createWrap.js index f14b968d7..33f0633e4 100644 --- a/node_modules/lodash/_createWrap.js +++ b/node_modules/lodash/_createWrap.js @@ -83,7 +83,7 @@ function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arit thisArg = newData[2]; partials = newData[3]; holders = newData[4]; - arity = newData[9] = newData[9] == null + arity = newData[9] = newData[9] === undefined ? (isBindKey ? 0 : func.length) : nativeMax(newData[9] - length, 0); |