2015-02-24 22:35:42 +01:00
|
|
|
=== tests/cases/conformance/es6/for-ofStatements/for-of27.ts ===
|
|
|
|
for (var v of new StringIterator) { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>v : any, Symbol(v, Decl(for-of27.ts, 0, 8))
|
2015-02-24 22:35:42 +01:00
|
|
|
>new StringIterator : StringIterator
|
2015-04-13 23:01:57 +02:00
|
|
|
>StringIterator : typeof StringIterator, Symbol(StringIterator, Decl(for-of27.ts, 0, 37))
|
2015-02-24 22:35:42 +01:00
|
|
|
|
|
|
|
class StringIterator {
|
2015-04-13 23:01:57 +02:00
|
|
|
>StringIterator : StringIterator, Symbol(StringIterator, Decl(for-of27.ts, 0, 37))
|
2015-02-24 22:35:42 +01:00
|
|
|
|
|
|
|
[Symbol.iterator]: any;
|
2015-04-13 23:01:57 +02:00
|
|
|
>Symbol.iterator : symbol, Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 1236, 31))
|
|
|
|
>Symbol : SymbolConstructor, Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1262, 11))
|
|
|
|
>iterator : symbol, Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 1236, 31))
|
2015-02-24 22:35:42 +01:00
|
|
|
}
|