es.set.symmetric-difference.v2.js 475 B

12345678910
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var symmetricDifference = require('../internals/set-symmetric-difference');
  4. var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');
  5. // `Set.prototype.symmetricDifference` method
  6. // https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
  7. $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {
  8. symmetricDifference: symmetricDifference
  9. });