debian-mirror-gitlab/core-js/features/set/of.js
2019-09-25 13:30:05 +05:30

13 lines
383 B
JavaScript

'use strict';
require('../../modules/es.set');
require('../../modules/es.string.iterator');
require('../../modules/esnext.set.of');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');
var Set = path.Set;
var setOf = Set.of;
module.exports = function of() {
return setOf.apply(typeof this === 'function' ? this : Set, arguments);
};