Sha256: 59d5228d998e436bc1db77e5e97165bdb7a0cbc4796969545d72edb48d11858a

Contents?: true

Size: 473 Bytes

Versions: 64

Compression:

Stored size: 473 Bytes

Contents

'use strict';
var weak = require('./_collection-weak');
var validate = require('./_validate-collection');
var WEAK_SET = 'WeakSet';

// 23.4 WeakSet Objects
require('./_collection')(WEAK_SET, function (get) {
  return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
}, {
  // 23.4.3.1 WeakSet.prototype.add(value)
  add: function add(value) {
    return weak.def(validate(this, WEAK_SET), value, true);
  }
}, weak, false, true);

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.51 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.50 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.50 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.49 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.49 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.48 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.48 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.47 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.47 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.46 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.46 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.45 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.45 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.44 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.44 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.43 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.43 node_modules/core-js/modules/es6.weak-set.js
immosquare-cleaner-0.1.42 node_modules/core-js/library/modules/es6.weak-set.js
immosquare-cleaner-0.1.42 node_modules/core-js/modules/es6.weak-set.js