27 lines
783 B
Text
27 lines
783 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.d.ts, 1208, 42))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
>for : Symbol(SymbolConstructor.for, Decl(lib.d.ts, 1208, 42))
|
|
|
|
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))
|
|
|