es.set.is-subset-of.v2.js 413 B

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