es.set.difference.v2.js 411 B

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