projecte_ionic/node_modules/core-js-pure/features/set/of.js
2022-02-09 18:30:03 +01:00

15 lines
430 B
JavaScript
Executable file

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