|
|
|
Table 1: Well-known Symbols Specification Name [[Description]] Value and Purpose @@asyncIterator "Symbol.asyncIterator" A method that returns the default AsyncIterator for an for for - await await - of of statement. @@hasInstance "Symbol.hasInstance" object recognizes semantics of the instanceof instanceof operator. @@isConcatSpreadable "Symbol.isConcatSpreadable" A Boolean valued property that if true indicates that an . @@iterator "Symbol.iterator" A method that returns the default Iterator for an object. @@match "Symbol.match" A regular expression method that matches the regular method. @@matchAll "Symbol.matchAll" A regular expression method that returns an iterator, that method. @@replace "Symbol.replace" A regular expression method that replaces matched @@search "Symbol.search" A regular expression method that returns the index within a method. @@species "Symbol.species" A function valued property that is the that is used to create derived objects. @@split "Symbol.split" A regular expression method that splits a string at the method. @@toPrimitive "Symbol.toPrimitive" A method that converts an object to a corresponding operation. @@toStringTag "Symbol.toStringTag" A String valued property that is used in the creation of the . @@unscopables "Symbol.unscopables" An object valued property whose own and inherited with with environment bindings of the associated object. 74 |