1
+ /// <reference path="es6-shim.d.ts" />
2
+
3
+ interface Point { x : number ; y : number ; }
4
+ interface Point3D extends Point { z : number ; }
5
+
6
+ let a : any ;
7
+ let s : string ;
8
+ let i : number ;
9
+ let b : boolean ;
10
+ let f : ( ) => void ;
11
+ let o : Object ;
12
+ let r : RegExp ;
13
+ let sym : symbol ;
14
+ let e : Error ;
15
+ let date : Date ;
16
+ let key : PropertyKey ;
17
+ let point : Point ;
18
+ let point3d : Point3D ;
19
+ let arrayOfPoint : Point [ ] ;
20
+ let arrayOfPoint3D : Point3D [ ] ;
21
+ let arrayOfSymbol : symbol [ ] ;
22
+ let arrayOfPropertyKey : PropertyKey [ ] ;
23
+ let arrayOfAny : any [ ] ;
24
+ let arrayOfStringAny : [ string , any ] [ ] ;
25
+ let arrayLikeOfAny : ArrayLike < any > ;
26
+ let iterableOfPoint : IterableShim < Point > ;
27
+ let iterableOfStringPoint : IterableShim < [ string , Point ] > ;
28
+ let iterableOfPointPoint3D : IterableShim < [ Point , Point3D ] > ;
29
+ let iterableIteratorOfPoint : IterableIteratorShim < Point > ;
30
+ let iterableIteratorOfNumberPoint : IterableIteratorShim < [ number , Point ] > ;
31
+ let iterableIteratorOfNumber : IterableIteratorShim < number > ;
32
+ let iterableIteratorOfString : IterableIteratorShim < string > ;
33
+ let iterableIteratorOfPointPoint : IterableIteratorShim < [ Point , Point ] > ;
34
+ let iterableIteratorOfNode : IterableIteratorShim < Node > ;
35
+ let iterableIteratorOfStringPoint : IterableIteratorShim < [ string , Point ] > ;
36
+ let iterableIteratorOfAny : IterableIteratorShim < any > ;
37
+ let iterableIteratorOfPropertyKey : IterableIteratorShim < PropertyKey > ;
38
+ let iterableIteratorOfPropertyKeyPoint : IterableIteratorShim < [ PropertyKey , Point ] > ;
39
+ let nodeList : NodeList ;
40
+ let pd : PropertyDescriptor ;
41
+ let pdm : PropertyDescriptorMap ;
42
+ let map : Map < string , Point > ;
43
+ let set : Set < Point > ;
44
+ let weakMap : WeakMap < Point , Point3D > ;
45
+ let weakSet : WeakSet < Point > ;
46
+ let promiseLikeOfPoint : PromiseLike < Point > ;
47
+ let promiseLikeOfPoint3D : PromiseLike < Point3D > ;
48
+ let promiseOfPoint : Promise < Point > ;
49
+ let promiseOfPoint3D : Promise < Point3D > ;
50
+ let promiseOfArrayOfPoint : Promise < Point [ ] > ;
51
+ let promiseOfVoid : Promise < void > ;
52
+
53
+ point = Object . assign ( point , point ) ;
54
+ b = Object . is ( point , point ) ;
55
+ Object . setPrototypeOf ( point , point ) ;
56
+ point = arrayOfPoint . find ( p => b ) ;
57
+ i = arrayOfPoint . findIndex ( p => b ) ;
58
+ arrayOfPoint = arrayOfPoint . fill ( point , i , arrayOfPoint . length ) ;
59
+ arrayOfPoint = arrayOfPoint . copyWithin ( i , i , i ) ;
60
+ arrayOfPoint = Array . from ( arrayOfPoint ) ;
61
+ arrayOfPoint = Array . from ( iterableOfPoint ) ;
62
+ arrayOfPoint3D = Array . from ( arrayOfPoint , point => point3d ) ;
63
+ arrayOfPoint3D = Array . from ( arrayOfPoint , point => point3d , a ) ;
64
+ arrayOfPoint3D = Array . from ( iterableOfPoint , point => point3d ) ;
65
+ arrayOfPoint3D = Array . from ( iterableOfPoint , point => point3d , a ) ;
66
+ arrayOfPoint = Array . of ( point , point ) ;
67
+ i = s . codePointAt ( i ) ;
68
+ b = s . includes ( s , i ) ;
69
+ b = s . endsWith ( s , i ) ;
70
+ s = s . repeat ( i ) ;
71
+ b = s . startsWith ( s , i ) ;
72
+ s = String . fromCodePoint ( i , i ) ;
73
+ s = String . raw `abc` ;
74
+ s = r . flags ;
75
+ i = Number . EPSILON ;
76
+ b = Number . isFinite ( i ) ;
77
+ b = Number . isInteger ( i ) ;
78
+ b = Number . isNaN ( i ) ;
79
+ b = Number . isSafeInteger ( i ) ;
80
+ i = Number . MAX_SAFE_INTEGER ;
81
+ i = Number . MIN_SAFE_INTEGER ;
82
+ i = Number . parseFloat ( s ) ;
83
+ i = Number . parseInt ( s ) ;
84
+ i = Number . parseInt ( s , i ) ;
85
+ i = Math . clz32 ( i ) ;
86
+ i = Math . imul ( i , i ) ;
87
+ i = Math . sign ( i ) ;
88
+ i = Math . log10 ( i ) ;
89
+ i = Math . log2 ( i ) ;
90
+ i = Math . log1p ( i ) ;
91
+ i = Math . expm1 ( i ) ;
92
+ i = Math . cosh ( i ) ;
93
+ i = Math . sinh ( i ) ;
94
+ i = Math . tanh ( i ) ;
95
+ i = Math . acosh ( i ) ;
96
+ i = Math . asinh ( i ) ;
97
+ i = Math . atanh ( i ) ;
98
+ i = Math . hypot ( i , i ) ;
99
+ i = Math . trunc ( i ) ;
100
+ i = Math . fround ( i ) ;
101
+ i = Math . cbrt ( i ) ;
102
+ map . clear ( ) ;
103
+ map . delete ( s ) ;
104
+ map . forEach ( ( value : Point , key : string ) => { } ) ;
105
+ point = map . get ( s ) ;
106
+ b = map . has ( s ) ;
107
+ map = map . set ( s , point ) ;
108
+ i = map . size ;
109
+ map = new Map < string , Point > ( ) ;
110
+ map = new Map ( iterableOfStringPoint ) ;
111
+ set . clear ( ) ;
112
+ set . delete ( point ) ;
113
+ set . forEach ( ( value : Point , key : Point ) => { } ) ;
114
+ b = set . has ( point ) ;
115
+ set = set . add ( point ) ;
116
+ i = set . size ;
117
+ set = new Set < Point > ( ) ;
118
+ set = new Set ( iterableOfPoint ) ;
119
+ weakMap . delete ( point ) ;
120
+ point3d = weakMap . get ( point ) ;
121
+ b = weakMap . has ( point ) ;
122
+ weakMap = weakMap . set ( point , point3d ) ;
123
+ weakMap = new WeakMap < Point , Point3D > ( ) ;
124
+ weakMap = new WeakMap ( iterableOfPointPoint3D ) ;
125
+ weakSet . delete ( point ) ;
126
+ weakSet = weakSet . add ( point ) ;
127
+ b = weakSet . has ( point ) ;
128
+ weakSet = new WeakSet < Point > ( ) ;
129
+ weakSet = new WeakSet ( iterableOfPoint ) ;
130
+ iterableIteratorOfNumberPoint = arrayOfPoint . entries ( ) ;
131
+ iterableIteratorOfNumber = arrayOfPoint . keys ( ) ;
132
+ iterableIteratorOfPoint = arrayOfPoint . values ( ) ;
133
+ iterableIteratorOfPointPoint = set . entries ( ) ;
134
+ iterableIteratorOfPoint = set . keys ( ) ;
135
+ iterableIteratorOfPoint = set . values ( ) ;
136
+ promiseLikeOfPoint . then ( ( point : Point ) => { } ) ;
137
+ promiseLikeOfPoint = promiseLikeOfPoint . then ( ) ;
138
+ promiseLikeOfPoint = promiseLikeOfPoint . then ( p => point ) ;
139
+ promiseLikeOfPoint = promiseLikeOfPoint . then ( p => promiseLikeOfPoint ) ;
140
+ promiseLikeOfPoint = promiseLikeOfPoint . then ( p => point , e => point ) ;
141
+ promiseLikeOfPoint = promiseLikeOfPoint . then ( p => promiseLikeOfPoint , e => point ) ;
142
+ promiseLikeOfPoint = promiseLikeOfPoint . then ( p => point , e => promiseLikeOfPoint ) ;
143
+ promiseLikeOfPoint = promiseLikeOfPoint . then ( p => point , e => { } ) ;
144
+ promiseLikeOfPoint = promiseLikeOfPoint . then ( p => promiseLikeOfPoint , e => { } ) ;
145
+ promiseLikeOfPoint3D = promiseLikeOfPoint . then ( p => point3d ) ;
146
+ promiseLikeOfPoint3D = promiseLikeOfPoint . then ( p => promiseLikeOfPoint3D ) ;
147
+ promiseLikeOfPoint3D = promiseLikeOfPoint . then ( p => point3d , e => point3d ) ;
148
+ promiseLikeOfPoint3D = promiseLikeOfPoint . then ( p => promiseLikeOfPoint3D , e => point3d ) ;
149
+ promiseLikeOfPoint3D = promiseLikeOfPoint . then ( p => point3d , e => promiseLikeOfPoint3D ) ;
150
+ promiseLikeOfPoint3D = promiseLikeOfPoint . then ( p => point3d , e => { } ) ;
151
+ promiseLikeOfPoint3D = promiseLikeOfPoint . then ( p => promiseLikeOfPoint3D , e => { } ) ;
152
+ promiseOfPoint . then ( ( point : Point ) => { } ) ;
153
+ promiseOfPoint = promiseOfPoint . then ( ) ;
154
+ promiseOfPoint = promiseOfPoint . then ( p => point ) ;
155
+ promiseOfPoint = promiseOfPoint . then ( p => promiseOfPoint ) ;
156
+ promiseOfPoint = promiseOfPoint . then ( p => promiseLikeOfPoint ) ;
157
+ promiseOfPoint = promiseOfPoint . then ( p => point , e => point ) ;
158
+ promiseOfPoint = promiseOfPoint . then ( p => promiseOfPoint , e => point ) ;
159
+ promiseOfPoint = promiseOfPoint . then ( p => promiseLikeOfPoint , e => point ) ;
160
+ promiseOfPoint = promiseOfPoint . then ( p => point , e => promiseOfPoint ) ;
161
+ promiseOfPoint = promiseOfPoint . then ( p => point , e => promiseLikeOfPoint ) ;
162
+ promiseOfPoint = promiseOfPoint . then ( p => point , e => { } ) ;
163
+ promiseOfPoint = promiseOfPoint . then ( p => promiseOfPoint , e => { } ) ;
164
+ promiseOfPoint = promiseOfPoint . then ( p => promiseLikeOfPoint , e => { } ) ;
165
+ promiseOfPoint3D = promiseOfPoint . then ( p => point3d ) ;
166
+ promiseOfPoint3D = promiseOfPoint . then ( p => promiseOfPoint3D ) ;
167
+ promiseOfPoint3D = promiseOfPoint . then ( p => promiseLikeOfPoint3D ) ;
168
+ promiseOfPoint3D = promiseOfPoint . then ( p => point3d , e => point3d ) ;
169
+ promiseOfPoint3D = promiseOfPoint . then ( p => promiseOfPoint3D , e => point3d ) ;
170
+ promiseOfPoint3D = promiseOfPoint . then ( p => promiseLikeOfPoint3D , e => point3d ) ;
171
+ promiseOfPoint3D = promiseOfPoint . then ( p => point3d , e => promiseOfPoint3D ) ;
172
+ promiseOfPoint3D = promiseOfPoint . then ( p => point3d , e => promiseLikeOfPoint3D ) ;
173
+ promiseOfPoint3D = promiseOfPoint . then ( p => point3d , e => { } ) ;
174
+ promiseOfPoint3D = promiseOfPoint . then ( p => promiseOfPoint3D , e => { } ) ;
175
+ promiseOfPoint3D = promiseOfPoint . then ( p => promiseLikeOfPoint3D , e => { } ) ;
176
+ promiseOfPoint = promiseOfPoint . catch ( e => point ) ;
177
+ promiseOfPoint = promiseOfPoint . catch ( e => promiseOfPoint ) ;
178
+ promiseOfPoint = promiseOfPoint . catch ( e => promiseLikeOfPoint ) ;
179
+ promiseOfPoint = promiseOfPoint . catch ( e => { } ) ;
180
+ promiseOfPoint3D = promiseOfPoint . catch ( e => point3d ) ;
181
+ promiseOfPoint3D = promiseOfPoint . catch ( e => promiseOfPoint3D ) ;
182
+ promiseOfPoint3D = promiseOfPoint . catch ( e => promiseLikeOfPoint3D ) ;
183
+ promiseOfPoint = new Promise < Point > ( ( resolve , reject ) => resolve ( point ) ) ;
184
+ promiseOfPoint = new Promise < Point > ( ( resolve , reject ) => resolve ( promiseOfPoint ) ) ;
185
+ promiseOfPoint = new Promise < Point > ( ( resolve , reject ) => resolve ( promiseLikeOfPoint ) ) ;
186
+ promiseOfPoint = new Promise < Point > ( ( resolve , reject ) => reject ( e ) ) ;
187
+ promiseOfArrayOfPoint = Promise . all ( arrayOfPoint ) ;
188
+ promiseOfArrayOfPoint = Promise . all ( iterableOfPoint ) ;
189
+ promiseOfPoint = Promise . race ( arrayOfPoint ) ;
190
+ promiseOfPoint = Promise . race ( iterableOfPoint ) ;
191
+ promiseOfVoid = Promise . resolve ( ) ;
192
+ promiseOfPoint = Promise . resolve ( point3d ) ;
193
+ promiseOfPoint = Promise . resolve ( promiseOfPoint ) ;
194
+ promiseOfPoint = Promise . resolve ( promiseLikeOfPoint ) ;
195
+ promiseOfVoid = Promise . reject ( e ) ;
196
+ promiseOfPoint = Promise . reject < Point > ( e ) ;
197
+ a = Reflect . apply ( f , a , arrayLikeOfAny ) ;
198
+ a = Reflect . construct ( f , arrayLikeOfAny ) ;
199
+ b = Reflect . defineProperty ( a , s , pd ) ;
200
+ b = Reflect . defineProperty ( a , i , pd ) ;
201
+ b = Reflect . defineProperty ( a , sym , pd ) ;
202
+ b = Reflect . deleteProperty ( a , s ) ;
203
+ b = Reflect . deleteProperty ( a , i ) ;
204
+ b = Reflect . deleteProperty ( a , sym ) ;
205
+ iterableIteratorOfAny = Reflect . enumerate ( a ) ;
206
+ a = Reflect . get ( a , s , a ) ;
207
+ a = Reflect . get ( a , i , a ) ;
208
+ a = Reflect . get ( a , sym , a ) ;
209
+ pd = Reflect . getOwnPropertyDescriptor ( a , s ) ;
210
+ pd = Reflect . getOwnPropertyDescriptor ( a , i ) ;
211
+ pd = Reflect . getOwnPropertyDescriptor ( a , sym ) ;
212
+ a = Reflect . getPrototypeOf ( a ) ;
213
+ b = Reflect . has ( a , s ) ;
214
+ b = Reflect . has ( a , i ) ;
215
+ b = Reflect . has ( a , sym ) ;
216
+ b = Reflect . isExtensible ( a ) ;
217
+ arrayOfPropertyKey = Reflect . ownKeys ( a ) ;
218
+ b = Reflect . preventExtensions ( a ) ;
219
+ b = Reflect . set ( a , s , a , a ) ;
220
+ b = Reflect . set ( a , i , a , a ) ;
221
+ b = Reflect . set ( a , sym , a , a ) ;
222
+ b = Reflect . setPrototypeOf ( a , a ) ;
0 commit comments