Skip to content
Snippets Groups Projects
Commit d863423d authored by Juan Ignacio Dopazo's avatar Juan Ignacio Dopazo
Browse files

Array.prototype.find no longer skips holes

parent b81b71ea
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,6 @@ var b = a.find(function (v) {
return v !== 1;
});
if (b !== 2) {
$ERROR('#1: b !== 2. Actual: ' + b);
if (b !== undefined) {
$ERROR('#1: b !== undefined. Actual: ' + b);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment