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

This commit is contained in:
Martin Carlberg authored and GitHub committed 2020-01-31 13:43:58 +01:00
1 parent 8daa53dd3e
commit 7dc77ed609
95 files changed
+280 -280

No files matched your search

+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);