esnext.set.intersection.v2.js 400 B

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