13 lines
575 B
Text
13 lines
575 B
Text
=== tests/cases/conformance/es6/for-ofStatements/for-of27.ts ===
|
|
for (var v of new StringIterator) { }
|
|
>v : Symbol(v, Decl(for-of27.ts, 0, 8))
|
|
>StringIterator : Symbol(StringIterator, Decl(for-of27.ts, 0, 37))
|
|
|
|
class StringIterator {
|
|
>StringIterator : Symbol(StringIterator, Decl(for-of27.ts, 0, 37))
|
|
|
|
[Symbol.iterator]: any;
|
|
>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))
|
|
}
|