14 lines
364 B
Text
14 lines
364 B
Text
=== tests/cases/conformance/es6/for-ofStatements/for-of27.ts ===
|
|
for (var v of new StringIterator) { }
|
|
>v : any
|
|
>new StringIterator : StringIterator
|
|
>StringIterator : typeof StringIterator
|
|
|
|
class StringIterator {
|
|
>StringIterator : StringIterator
|
|
|
|
[Symbol.iterator]: any;
|
|
>Symbol.iterator : symbol
|
|
>Symbol : SymbolConstructor
|
|
>iterator : symbol
|
|
}
|