amis-rpc-design/node_modules/core-js/full/weak-set/of.js
2023-10-07 19:42:30 +08:00

15 lines
464 B
JavaScript

'use strict';
require('../../modules/es.array.iterator');
require('../../modules/es.weak-set');
require('../../modules/esnext.weak-set.of');
var path = require('../../internals/path');
var apply = require('../../internals/function-apply');
var isCallable = require('../../internals/is-callable');
var WeakSet = path.WeakSet;
var weakSetOf = WeakSet.of;
module.exports = function of() {
return apply(weakSetOf, isCallable(this) ? this : WeakSet, arguments);
};