| | |
| | | * 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.
|
| | | */
|
| | | readonly hasInstance: symbol;
|
| | | readonly hasInstance: unique symbol;
|
| | |
|
| | | /**
|
| | | * A Boolean value that if true indicates that an object should flatten to its array elements
|
| | | * by Array.prototype.concat.
|
| | | */
|
| | | readonly isConcatSpreadable: symbol;
|
| | | readonly isConcatSpreadable: unique symbol;
|
| | |
|
| | | /**
|
| | | * A regular expression method that matches the regular expression against a string. Called
|
| | | * by the String.prototype.match method.
|
| | | */
|
| | | readonly match: symbol;
|
| | | readonly match: unique symbol;
|
| | |
|
| | | /**
|
| | | * A regular expression method that replaces matched substrings of a string. Called by the
|
| | | * String.prototype.replace method.
|
| | | */
|
| | | readonly replace: symbol;
|
| | | readonly replace: unique symbol;
|
| | |
|
| | | /**
|
| | | * A regular expression method that returns the index within a string that matches the
|
| | | * regular expression. Called by the String.prototype.search method.
|
| | | */
|
| | | readonly search: symbol;
|
| | | readonly search: unique symbol;
|
| | |
|
| | | /**
|
| | | * A function valued property that is the constructor function that is used to create
|
| | | * derived objects.
|
| | | */
|
| | | readonly species: symbol;
|
| | | readonly species: unique symbol;
|
| | |
|
| | | /**
|
| | | * A regular expression method that splits a string at the indices that match the regular
|
| | | * expression. Called by the String.prototype.split method.
|
| | | */
|
| | | readonly split: symbol;
|
| | | readonly split: unique symbol;
|
| | |
|
| | | /**
|
| | | * A method that converts an object to a corresponding primitive value.
|
| | | * Called by the ToPrimitive abstract operation.
|
| | | */
|
| | | readonly toPrimitive: symbol;
|
| | | readonly toPrimitive: unique symbol;
|
| | |
|
| | | /**
|
| | | * 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.
|
| | | */
|
| | | readonly toStringTag: symbol;
|
| | | readonly toStringTag: unique symbol;
|
| | |
|
| | | /**
|
| | | * An Object whose own property names are property names that are excluded from the 'with'
|
| | | * environment bindings of the associated objects.
|
| | | */
|
| | | readonly unscopables: symbol;
|
| | | readonly unscopables: unique symbol;
|
| | | }
|
| | |
|
| | | interface Symbol {
|
| | |
| | | match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;
|
| | |
|
| | | /**
|
| | | * Replaces text in a string, using an object that supports replacement within a string.
|
| | | * @param searchValue A object can search for and replace matches within a string.
|
| | | * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.
|
| | | * Replaces first match with string or all matches with RegExp.
|
| | | * @param searchValue A string or RegExp search value.
|
| | | * @param replaceValue A string containing the text to replace for match.
|
| | | */
|
| | | replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;
|
| | |
|