Liking cljdoc? Tell your friends :D

js.WeakMap

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.
raw docstring

clearcljs

(clear this)

Method.

[Obsolute]

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.

[Obsolute]

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`
sourceraw docstring

deletecljs

(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`
sourceraw docstring

getcljs

(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`
sourceraw docstring

hascljs

(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`
sourceraw docstring

lengthcljs

(length this)

Property.

The value of the length property is 0.

Property.

The value of the length property is 0.
sourceraw docstring

prototypecljs

(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`
sourceraw docstring

setcljs

(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`
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

The value of the length property is 0.

Property.

The value of the length property is 0.
sourceraw docstring

set-prototype!cljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close