@@ -5,61 +5,61 @@ interface SymbolConstructor {
5
5
* A method that determines if a constructor object recognizes an object as one of the
6
6
* constructor’s instances. Called by the semantics of the instanceof operator.
7
7
*/
8
- readonly hasInstance : symbol ;
8
+ readonly hasInstance : unique symbol;
9
9
10
10
/**
11
11
* A Boolean value that if true indicates that an object should flatten to its array elements
12
12
* by Array.prototype.concat.
13
13
*/
14
- readonly isConcatSpreadable : symbol ;
14
+ readonly isConcatSpreadable : unique symbol;
15
15
16
16
/**
17
17
* A regular expression method that matches the regular expression against a string. Called
18
18
* by the String.prototype.match method.
19
19
*/
20
- readonly match : symbol ;
20
+ readonly match : unique symbol;
21
21
22
22
/**
23
23
* A regular expression method that replaces matched substrings of a string. Called by the
24
24
* String.prototype.replace method.
25
25
*/
26
- readonly replace : symbol ;
26
+ readonly replace : unique symbol;
27
27
28
28
/**
29
29
* A regular expression method that returns the index within a string that matches the
30
30
* regular expression. Called by the String.prototype.search method.
31
31
*/
32
- readonly search : symbol ;
32
+ readonly search : unique symbol;
33
33
34
34
/**
35
35
* A function valued property that is the constructor function that is used to create
36
36
* derived objects.
37
37
*/
38
- readonly species : symbol ;
38
+ readonly species : unique symbol;
39
39
40
40
/**
41
41
* A regular expression method that splits a string at the indices that match the regular
42
42
* expression. Called by the String.prototype.split method.
43
43
*/
44
- readonly split : symbol ;
44
+ readonly split : unique symbol;
45
45
46
46
/**
47
47
* A method that converts an object to a corresponding primitive value.
48
48
* Called by the ToPrimitive abstract operation.
49
49
*/
50
- readonly toPrimitive : symbol ;
50
+ readonly toPrimitive : unique symbol;
51
51
52
52
/**
53
53
* A String value that is used in the creation of the default string description of an object.
54
54
* Called by the built-in method Object.prototype.toString.
55
55
*/
56
- readonly toStringTag : symbol ;
56
+ readonly toStringTag : unique symbol;
57
57
58
58
/**
59
59
* An Object whose own property names are property names that are excluded from the 'with'
60
60
* environment bindings of the associated objects.
61
61
*/
62
- readonly unscopables : symbol ;
62
+ readonly unscopables : unique symbol;
63
63
}
64
64
65
65
interface Symbol {
0 commit comments