20 lines
728 B
Text
20 lines
728 B
Text
=== tests/cases/conformance/es6/for-ofStatements/for-of28.ts ===
|
|
for (var v of new StringIterator) { }
|
|
>v : Symbol(v, Decl(for-of28.ts, 0, 8))
|
|
>StringIterator : Symbol(StringIterator, Decl(for-of28.ts, 0, 37))
|
|
|
|
class StringIterator {
|
|
>StringIterator : Symbol(StringIterator, Decl(for-of28.ts, 0, 37))
|
|
|
|
next: any;
|
|
>next : Symbol(next, Decl(for-of28.ts, 2, 22))
|
|
|
|
[Symbol.iterator]() {
|
|
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 1236, 31))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 1236, 31))
|
|
|
|
return this;
|
|
>this : Symbol(StringIterator, Decl(for-of28.ts, 0, 37))
|
|
}
|
|
}
|