esnext.set.delete-all.js 298 B

123456789
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var deleteAll = require('../internals/collection-delete-all');
  4. // `Set.prototype.deleteAll` method
  5. // https://github.com/tc39/proposal-collection-methods
  6. $({ target: 'Set', proto: true, real: true, forced: true }, {
  7. deleteAll: deleteAll
  8. });