mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
8 lines
98 B
TypeScript
8 lines
98 B
TypeScript
|
//@target: ES5
|
||
|
var Symbol: any;
|
||
|
|
||
|
class C {
|
||
|
[Symbol.iterator]() { }
|
||
|
}
|
||
|
|
||
|
(new C)[Symbol.iterator]
|