The WeakMap object is a collection of key/value pairs in which keys are weakly referenced. The keys must be objects and the can be arbitrary values.
The WeakMap object is a collection of key/value pairs in which keys are weakly referenced. The keys must be objects and the can be arbitrary values.
(clear this)
Method.
The clear() method used to remove all elements from a WeakMap but is no longer part of ECMAScript and its implementations.
wm.clear();
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/clear
Method. The clear() method used to remove all elements from a WeakMap but is no longer part of ECMAScript and its implementations. `wm.clear();` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/clear`
(delete this key)
Method.
The delete() method removes the specified element from a js.WeakMap
wm.delete(key);
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/delete
Method. The delete() method removes the specified element from a `js.WeakMap` `wm.delete(key);` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/delete`
(get this key)
Method.
The get() method returns a specified element from a WeakMap object.
wm.get(key);
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/get
Method. The get() method returns a specified element from a WeakMap object. `wm.get(key);` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/get`
(has this key)
Method.
The has() method returns a boolean indicating whether an element the specified key exists in the WeakMap object or not.
wm.has(key);
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/has
Method. The has() method returns a boolean indicating whether an element the specified key exists in the WeakMap object or not. `wm.has(key);` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/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 WeakMap.prototype property represents the prototype for the constructor.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/prototype
Property. The WeakMap.prototype property represents the prototype for the constructor. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/prototype`
(set this key value)
Method.
The set() method adds a new element with a specified key and to a WeakMap object.
wm.set(key, value);
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/set
Method. The set() method adds a new element with a specified key and to a WeakMap object. `wm.set(key, value);` See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/set`
(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 WeakMap.prototype property represents the prototype for the constructor.
See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/prototype
Property. The WeakMap.prototype property represents the prototype for the constructor. See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/prototype`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close