Liking cljdoc? Tell your friends :D

js.Symbol

The data type symbol is a primitive data type. The Symbol() function a value of type symbol, has static properties that expose several of built-in objects, has static methods that expose the global registry, and resembles a built-in object class but is incomplete a constructor because it does not support the syntax "new Symbol()".

The data type symbol is a primitive data type. The Symbol() function
a value of type symbol, has static properties that expose several
of built-in objects, has static methods that expose the global
registry, and resembles a built-in object class but is incomplete
a constructor because it does not support the syntax \"new Symbol()\".
raw docstring

forcljs

(for this key)

Method.

The Symbol.for(key) method searches for existing symbols in a symbol registry with the given key and returns it if found. Otherwise new symbol gets created in the global symbol registry with this

Symbol.for(key);

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for

Method.

The Symbol.for(key) method searches for existing symbols in a
symbol registry with the given key and returns it if found. Otherwise
new symbol gets created in the global symbol registry with this

`Symbol.for(key);`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for`
raw docstring

has-instancecljs

(has-instance this)

Property.

The Symbol.hasInstance well-known symbol is used to determine a constructor object recognizes an object as its instance. The operator's behavior can be customized by this symbol.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/hasInstance

Property.

The Symbol.hasInstance well-known symbol is used to determine
a constructor object recognizes an object as its instance. The
operator's behavior can be customized by this symbol.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/hasInstance`
raw docstring

iteratorcljs

(iterator this)

Property.

The Symbol.iterator well-known symbol specifies the default iterator an object. Used by for...of.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/iterator

Property.

The Symbol.iterator well-known symbol specifies the default iterator
an object. Used by `for...of`.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/iterator`
raw docstring

lengthcljs

(length this)

Property.

Length property whose value is 0.

Property.

Length property whose value is 0.
raw docstring

matchcljs

(match this)

Property.

The Symbol.match well-known symbol specifies the matching of regular expression against a string. This function is called the String.prototype.match() method.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/match

Property.

The Symbol.match well-known symbol specifies the matching of
regular expression against a string. This function is called
the `String.prototype.match()` method.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/match`
raw docstring

set-has-instance!cljs

(set-has-instance! this val)

Property.

The Symbol.hasInstance well-known symbol is used to determine a constructor object recognizes an object as its instance. The operator's behavior can be customized by this symbol.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/hasInstance

Property.

The Symbol.hasInstance well-known symbol is used to determine
a constructor object recognizes an object as its instance. The
operator's behavior can be customized by this symbol.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/hasInstance`
raw docstring

set-iterator!cljs

(set-iterator! this val)

Property.

The Symbol.iterator well-known symbol specifies the default iterator an object. Used by for...of.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/iterator

Property.

The Symbol.iterator well-known symbol specifies the default iterator
an object. Used by `for...of`.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/iterator`
raw docstring

set-length!cljs

(set-length! this val)

Property.

Length property whose value is 0.

Property.

Length property whose value is 0.
raw docstring

set-match!cljs

(set-match! this val)

Property.

The Symbol.match well-known symbol specifies the matching of regular expression against a string. This function is called the String.prototype.match() method.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/match

Property.

The Symbol.match well-known symbol specifies the matching of
regular expression against a string. This function is called
the `String.prototype.match()` method.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/match`
raw docstring

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

× close