* 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
13 lines
675 B
Text
13 lines
675 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.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, --, --))
|
|
}
|