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