20 lines
617 B
Plaintext
20 lines
617 B
Plaintext
=== tests/cases/conformance/es6/Symbols/symbolType13.ts ===
|
|
var s = Symbol();
|
|
>s : Symbol(s, Decl(symbolType13.ts, 0, 3))
|
|
>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
|
|
|
var x: any;
|
|
>x : Symbol(x, Decl(symbolType13.ts, 1, 3))
|
|
|
|
for (s in {}) { }
|
|
>s : Symbol(s, Decl(symbolType13.ts, 0, 3))
|
|
|
|
for (x in s) { }
|
|
>x : Symbol(x, Decl(symbolType13.ts, 1, 3))
|
|
>s : Symbol(s, Decl(symbolType13.ts, 0, 3))
|
|
|
|
for (var y in s) { }
|
|
>y : Symbol(y, Decl(symbolType13.ts, 5, 8))
|
|
>s : Symbol(s, Decl(symbolType13.ts, 0, 3))
|
|
|