mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +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] |