You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
475 B

1 month ago
  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. });