Results 1 - 18 of 18

Symbol

A symbol is a unique and immutable data type. It may be used as an identifier for object properties. The Symbol object is an implicit object wrapper for the symbol primitive data type.
ECMAScript6 JavaScript Symbol

Symbol.for()

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

Symbol.isConcatSpreadable

The Symbol.isConcatSpreadable well-known symbol is used to configure if an object should be flattened to its array elements when using the Array.prototype.concat() method.
ECMAScript6 JavaScript Property Symbol

Symbol.iterator

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

Symbol.keyFor()

The Symbol.keyFor(sym) method retrieves a shared symbol key from the global symbol registry for the given symbol.
ECMAScript6 JavaScript Method Symbol

Symbol.match

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

Symbol.prototype

The Symbol.prototype property represents the prototype for the Symbol constructor.
JavaScript Property Symbol

Symbol.replace

The Symbol.replace well-known symbol specifies the method that replaces matched substrings of a string. This function is called by the String.prototype.replace() method.
ECMAScript6 JavaScript Property Symbol

Symbol.search

The Symbol.search well-known symbol specifies the method that returns the index within a string that matches the regular expression. This function is called by the String.prototype.search() method.
ECMAScript6 JavaScript Property Symbol

Symbol.species

The Symbol.species well-known symbol specifies a function valued property that is the constructor function that is used to create derived objects.
ECMAScript6 JavaScript Property Symbol

Symbol.split

The Symbol.split well-known symbol specifies the method that splits a string at the indices that match a regular expression. This function is called by the String.prototype.split() method.
ECMAScript6 JavaScript Property Symbol

Symbol.toPrimitive

The Symbol.toPrimitive is a symbol that specifies a function valued property that is called to convert an object to a corresponding primitive value.
ECMAScript6 JavaScript Property Symbol

Symbol.prototype.toSource()

The toSource() method returns a string representing the source code of the object.
JavaScript Method Prototype Symbol

Symbol.unscopables

The Symbol.unscopables well-known symbol is used to specify an object value of whose own and inherited property names are excluded from the with environment bindings of the associated object.
ECMAScript6 JavaScript Property Symbol

Symbol.prototype[@@toPrimitive]

The [@@toPrimitive]() method converts a Symbol object to a primitive value.
ECMAScript6 JavaScript Method Prototype Symbol

Symbol.hasInstance

The Symbol.hasInstance well-known symbol is used to determine if a constructor object recognizes an object as its instance. The instanceof operator behavior can be customized by this symbol.
ECMAScript6 JavaScript Property Reference Symbol

Symbol.prototype.toString()

The toString() method returns a string representing the specified Symbol object.
ECMAScript6 JavaScript Method Prototype Symbol

Symbol.prototype.valueOf()

The valueOf() method returns the primitive value of a Symbol object.
ECMAScript6 JavaScript Method Prototype Symbol