11 lines
No EOL
177 B
TypeScript
11 lines
No EOL
177 B
TypeScript
//@target: ES5
|
|
module M {
|
|
var Symbol: any;
|
|
|
|
export class C {
|
|
[Symbol.iterator]() { }
|
|
}
|
|
(new C)[Symbol.iterator];
|
|
}
|
|
|
|
(new M.C)[Symbol.iterator]; |