2015-04-16 01:44:20 +02:00
|
|
|
=== 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;
|
2015-08-20 02:23:14 +02:00
|
|
|
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 3890, 31))
|
|
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 3840, 52), Decl(lib.d.ts, 3946, 11))
|
|
|
|
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 3890, 31))
|
2015-04-16 01:44:20 +02:00
|
|
|
}
|