massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / esnext.iterator.some.js
index 147a016cfb17d73b24d73b22a974c0122783b1b7..867255362742da436076dbe47df9ecfc3d8d9e41 100644 (file)
@@ -2,13 +2,13 @@
 // https://github.com/tc39/proposal-iterator-helpers
 var $ = require('../internals/export');
 var iterate = require('../internals/iterate');
-var aFunction = require('../internals/a-function');
+var aCallable = require('../internals/a-callable');
 var anObject = require('../internals/an-object');
 
 $({ target: 'Iterator', proto: true, real: true }, {
   some: function some(fn) {
     anObject(this);
-    aFunction(fn);
+    aCallable(fn);
     return iterate(this, function (value, stop) {
       if (fn(value)) return stop();
     }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped;