673fa41418
* Move iterabl related stuffs off from es2015.collection * Move symbol.wellknown stuffs off from es2015.collection * Add map & set constructor support when targeting ES5 * Address PR: move symbol.iterator to es2015.iterable * Move Symbol.Iterator into es2015.iterable * Update baselines
14 lines
675 B
Plaintext
14 lines
675 B
Plaintext
=== 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.es2015.iterable.d.ts, --, --))
|
|
>Symbol : Symbol(Symbol, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --))
|
|
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
|
|
}
|