massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / esnext.set.is-disjoint-from.js
index 12f7d40e40c7fb542ed122ff6605bebdd6d360cc..70d79e44bb951652ed09134b34d3df2a64a2510e 100644 (file)
@@ -1,8 +1,9 @@
 'use strict';
-var $ = require('../internals/export');
 var IS_PURE = require('../internals/is-pure');
+var $ = require('../internals/export');
+var call = require('../internals/function-call');
+var aCallable = require('../internals/a-callable');
 var anObject = require('../internals/an-object');
-var aFunction = require('../internals/a-function');
 var iterate = require('../internals/iterate');
 
 // `Set.prototype.isDisjointFrom` method
@@ -10,9 +11,9 @@ var iterate = require('../internals/iterate');
 $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
   isDisjointFrom: function isDisjointFrom(iterable) {
     var set = anObject(this);
-    var hasCheck = aFunction(set.has);
+    var hasCheck = aCallable(set.has);
     return !iterate(iterable, function (value, stop) {
-      if (hasCheck.call(set, value) === true) return stop();
+      if (call(hasCheck, set, value) === true) return stop();
     }, { INTERRUPTED: true }).stopped;
   }
 });