Use a strict undefined check for arity in createWrap.

This commit is contained in:
John-David Dalton
2016-12-21 15:22:21 -06:00
parent 02fdf4e673
commit f7263047bf

View File

@@ -5559,7 +5559,7 @@
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);