aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/features/set/of.js
blob: 114558a2ec2a66ce05e298edc322cc1b5006c0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'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);
};