fix a typo

This commit is contained in:
Denis Pushkarev
2026-07-25 21:34:00 +03:00
parent 39a1a5834d
commit a8887a5cb4
+1 -1
View File
@@ -831,7 +831,7 @@ GLOBAL.tests = {
function () {
return [1].values()
.flatMap(function () { return [1]; })
.find(function () { return true; }) !== 1;
.find(function () { return true; }) === 1;
}
],
'es.iterator.for-each': checkIteratorClosingOnEarlyError('forEach', TypeError),