projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
massive update, probably broken
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
core-js
/
modules
/
esnext.set.is-subset-of.js
diff --git
a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.set.is-subset-of.js
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.set.is-subset-of.js
index 9ac513f769fbcad9f31137210cc9c51c5783ec12..f294824610c2f3156cfb1e8529b43550d86e84c6 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.set.is-subset-of.js
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.set.is-subset-of.js
@@
-1,9
+1,11
@@
'use strict';
'use strict';
-var $ = require('../internals/export');
var IS_PURE = require('../internals/is-pure');
var IS_PURE = require('../internals/is-pure');
+var $ = require('../internals/export');
var getBuiltIn = require('../internals/get-built-in');
var getBuiltIn = require('../internals/get-built-in');
+var call = require('../internals/function-call');
+var aCallable = require('../internals/a-callable');
+var isCallable = require('../internals/is-callable');
var anObject = require('../internals/an-object');
var anObject = require('../internals/an-object');
-var aFunction = require('../internals/a-function');
var getIterator = require('../internals/get-iterator');
var iterate = require('../internals/iterate');
var getIterator = require('../internals/get-iterator');
var iterate = require('../internals/iterate');
@@
-14,12
+16,12
@@
$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
var iterator = getIterator(this);
var otherSet = anObject(iterable);
var hasCheck = otherSet.has;
var iterator = getIterator(this);
var otherSet = anObject(iterable);
var hasCheck = otherSet.has;
- if (
typeof hasCheck != 'function'
) {
+ if (
!isCallable(hasCheck)
) {
otherSet = new (getBuiltIn('Set'))(iterable);
otherSet = new (getBuiltIn('Set'))(iterable);
- hasCheck = a
Function
(otherSet.has);
+ hasCheck = a
Callable
(otherSet.has);
}
return !iterate(iterator, function (value, stop) {
}
return !iterate(iterator, function (value, stop) {
- if (
hasCheck.call(
otherSet, value) === false) return stop();
+ if (
call(hasCheck,
otherSet, value) === false) return stop();
}, { IS_ITERATOR: true, INTERRUPTED: true }).stopped;
}
});
}, { IS_ITERATOR: true, INTERRUPTED: true }).stopped;
}
});