mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +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] |