esnext.set.symmetric-difference.v2.js 443 B

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