esnext.set.union.v2.js 358 B

123456789
  1. var $ = require('../internals/export');
  2. var union = require('../internals/set-union');
  3. var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');
  4. // `Set.prototype.union` method
  5. // https://github.com/tc39/proposal-set-methods
  6. $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
  7. union: union
  8. });