mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Use a strict undefined check for arity in createWrap.
This commit is contained in:
@@ -5559,7 +5559,7 @@
|
|||||||
thisArg = newData[2];
|
thisArg = newData[2];
|
||||||
partials = newData[3];
|
partials = newData[3];
|
||||||
holders = newData[4];
|
holders = newData[4];
|
||||||
arity = newData[9] = newData[9] == null
|
arity = newData[9] = newData[9] === undefined
|
||||||
? (isBindKey ? 0 : func.length)
|
? (isBindKey ? 0 : func.length)
|
||||||
: nativeMax(newData[9] - length, 0);
|
: nativeMax(newData[9] - length, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user