The WeakSet object lets you store weakly held objects in a collection.
The WeakSet object lets you store weakly held objects in a collection.
(add this value)
Method.
The add() method appends a new object to the end of a WeakSet
ws.add(value);
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/add
Method. The add() method appends a new object to the end of a WeakSet `ws.add(value);` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/add`
(clear this)
Method.
[Obsolute]
The clear() method used to remove all elements from a WeakSet but is no longer part of ECMAScript and its implementations.
ws.clear();
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/clear
Method. [Obsolute] The clear() method used to remove all elements from a WeakSet but is no longer part of ECMAScript and its implementations. `ws.clear();` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/clear`
(delete this value)
Method.
The delete() method removes the specified element from a WeakSet
ws.delete(value);
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/delete
Method. The delete() method removes the specified element from a WeakSet `ws.delete(value);` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/delete`
(has this value)
Method.
The has() method returns a boolean indicating whether an object in a WeakSet or not.
ws.has(value);
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/has
Method. The has() method returns a boolean indicating whether an object in a WeakSet or not. `ws.has(value);` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/has`
(length this)
Property.
The value of the length property is 0.
Property. The value of the length property is 0.
(prototype this)
Property.
The WeakSet.prototype property represents the prototype for the constructor.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/prototype
Property. The WeakSet.prototype property represents the prototype for the constructor. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/prototype`
(set-length! this val)
Property.
The value of the length property is 0.
Property. The value of the length property is 0.
(set-prototype! this val)
Property.
The WeakSet.prototype property represents the prototype for the constructor.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/prototype
Property. The WeakSet.prototype property represents the prototype for the constructor. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/prototype`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close