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()\".
(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`
(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`
(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`
(length this)
Property.
Length property whose value is 0.
Property. Length property whose value is 0.
(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`
(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`
(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`
(set-length! this val)
Property.
Length property whose value is 0.
Property. Length property whose value is 0.
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close