![]() Symbol.splitĪ regular expression method that splits a string at the indices that match the regular expression.Ĭalled by the method. ![]() Symbol.speciesĪ function valued property that is the constructor function that is used to create derived objects. archĪ regular expression method that returns the index within a string that matches the regular expression. Symbol.replaceĪ regular expression method that replaces matched substrings of a string. Symbol.matchĪ regular expression method that matches the regular expression against a string. Called by the semantics of the for-of statement. eratorĪ method that returns the default iterator for an object. Symbol.isConcatSpreadableĪ Boolean value indicating that an object should be flattened to its array elements by. Called by the semantics of the instanceof operator. Here is a list of well-known symbols: Symbol.hasInstanceĪ method that determines if a constructor object recognizes an object as one of the constructor’s instances. In addition to user-defined symbols, there are well-known built-in symbols.īuilt-in symbols are used to represent internal language behaviors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |