27 lines
879 B
Text
27 lines
879 B
Text
=== tests/cases/conformance/es6/Symbols/symbolType11.ts ===
|
|
var s = Symbol.for("logical");
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
>Symbol.for : Symbol(SymbolConstructor.for, Decl(lib.es2015.symbol.d.ts, --, --))
|
|
>Symbol : Symbol(Symbol, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --))
|
|
>for : Symbol(SymbolConstructor.for, Decl(lib.es2015.symbol.d.ts, --, --))
|
|
|
|
s && s;
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
|
|
s && [];
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
|
|
0 && s;
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
|
|
s || s;
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
|
|
s || 1;
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
|
|
({}) || s;
|
|
>s : Symbol(s, Decl(symbolType11.ts, 0, 3))
|
|
|