mirror of
https://github.com/tc39/test262.git
synced 2025-07-03 04:04:42 +02:00
Merge pull request #135 from juandopazo/find-holes
Array.prototype.find no longer skips holes
This commit is contained in:
commit
a5438b0ab3
@ -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…
x
Reference in New Issue
Block a user