0ac40ebcec95a66bb03a0455bbc3de9a4b7f96b29ed0ca140c580903b6d0a416b5194e2b3d4aa9d25bd3a3064400ee4f9df83105320677115a2167bb1dd9df 489 B

1234567891011121314
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var call = require('../internals/function-call');
  4. var toSetLike = require('../internals/to-set-like');
  5. var $union = require('../internals/set-union');
  6. // `Set.prototype.union` method
  7. // https://github.com/tc39/proposal-set-methods
  8. // TODO: Obsolete version, remove from `core-js@4`
  9. $({ target: 'Set', proto: true, real: true, forced: true }, {
  10. union: function union(other) {
  11. return call($union, this, toSetLike(other));
  12. }
  13. });