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