debian-mirror-gitlab/core-js/features/set/of.js

14 lines
383 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
'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);
};