Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / esnext.iterator.some.js
index e32ce13dc2689bbbc8a8a62579f566502a94307d..147a016cfb17d73b24d73b22a974c0122783b1b7 100644 (file)
@@ -9,8 +9,8 @@ $({ target: 'Iterator', proto: true, real: true }, {
   some: function some(fn) {
     anObject(this);
     aFunction(fn);
-    return iterate(this, function (value) {
-      if (fn(value)) return iterate.stop();
-    }, undefined, false, true).stopped;
+    return iterate(this, function (value, stop) {
+      if (fn(value)) return stop();
+    }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped;
   }
 });