Fixed: Make sure we handle undefined when testing for nil values (#2862)

This commit is contained in:
Martin Carlberg
2020-01-31 13:43:58 +01:00
committed by GitHub
parent 8daa53dd3e
commit 7dc77ed609
95 changed files with 280 additions and 280 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ var concat = Array.prototype.concat,
count = arguments.length;
for (; index < count; ++index)
if (arguments[index] === nil)
if (arguments[index] == nil)
break;
return slice.call(arguments, 2, index);