mirror of https://github.com/tc39/test262.git
Array.prototype.find no longer skips holes
This commit is contained in:
parent
b81b71eac2
commit
d863423d1a
|
@ -16,6 +16,6 @@ var b = a.find(function (v) {
|
||||||
return v !== 1;
|
return v !== 1;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (b !== 2) {
|
if (b !== undefined) {
|
||||||
$ERROR('#1: b !== 2. Actual: ' + b);
|
$ERROR('#1: b !== undefined. Actual: ' + b);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue