Skip to main content

Symbol

A collection of well known symbols

Index

Type Aliases

asyncDispose

asyncDispose: typeof asyncDispose

asyncIterator

asyncIterator: typeof asyncIterator

call

call: typeof call

dispose

dispose: typeof dispose

enumKeys

enumKeys: typeof enumKeys

hasInstance

hasInstance: typeof hasInstance

isConcatSpreadable

isConcatSpreadable: typeof isConcatSpreadable

iterator

iterator: typeof iterator

match

match: typeof match

matchAll

matchAll: typeof matchAll

nodeInspect

nodeInspect: typeof nodeInspect

replace

replace: typeof replace

run

run: typeof run

search

search: typeof search

species

species: typeof species

split

split: typeof split

toPrimitive

toPrimitive: typeof toPrimitive

toStringTag

toStringTag: typeof toStringTag

unscopables

unscopables: typeof unscopables

Variables

constasyncDispose

asyncDispose: typeof GlobalSymbol.asyncDispose = ...

A method that is used to asynchronously release resources held by an object. Called by the semantics of the await using statement.

constasyncIterator

asyncIterator: typeof GlobalSymbol.asyncIterator = ...

A method that returns the default async iterator for an object. Called by the semantics of the for-await-of statement.

constcall

call: __call__ = '__call__'

Call signature

constdispose

dispose: typeof GlobalSymbol.dispose = ...

A method that is used to release resources held by an object. Called by the semantics of the using statement.

constenumKeys

enumKeys: unique symbol = ...

Enum keys

consthasInstance

hasInstance: typeof GlobalSymbol.hasInstance = ...

A method that determines if a constructor object recognizes an object as one of the constructor’s instances. Called by the semantics of the instanceof operator.

constisConcatSpreadable

isConcatSpreadable: typeof GlobalSymbol.isConcatSpreadable = ...

A Boolean value that if true indicates that an object should flatten to its array elements by Array.prototype.concat.

constiterator

iterator: typeof GlobalSymbol.iterator = ...

A method that returns the default iterator for an object. Called by the semantics of the for-of statement.

constmatch

match: typeof GlobalSymbol.match = ...

A regular expression method that matches the regular expression against a string. Called by the String.prototype.match method.

constmatchAll

matchAll: typeof GlobalSymbol.matchAll = ...

A regular expression method that matches the regular expression against a string. Called by the String.prototype.matchAll method.

constnodeInspect

nodeInspect: unique symbol = ...

NodeJS inspect symbol used by util.inspect()

constreplace

replace: typeof GlobalSymbol.replace = ...

A regular expression method that replaces matched substrings of a string. Called by the String.prototype.replace method.

construn

run: unique symbol = ...

Task run effect

constsearch

search: typeof GlobalSymbol.search = ...

A regular expression method that replaces matched substrings of a string. Called by the String.prototype.replace method.

constspecies

species: typeof GlobalSymbol.species = ...

A function valued property that is the constructor function that is used to create derived objects.

constsplit

split: typeof GlobalSymbol.split = ...

A regular expression method that splits a string at the indices that match the regular expression. Called by the String.prototype.split method.

consttoPrimitive

toPrimitive: typeof GlobalSymbol.toPrimitive = ...

A method that converts an object to a corresponding primitive value. Called by the ToPrimitive abstract operation.

consttoStringTag

toStringTag: typeof GlobalSymbol.toStringTag = ...

A String value that is used in the creation of the default string description of an object. Called by the built-in method Object.prototype.toString.

constunscopables

unscopables: typeof GlobalSymbol.unscopables = ...

An Object whose truthy properties are properties that are excluded from the 'with' environment bindings of the associated objects.