linwenling
2023-10-22 1660e0f0083d1a682bf0dca9dcaf2e8ba2502f38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'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);
};