esnext.set.difference.v2.js 388 B

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