26 lines
840 B
Plaintext
26 lines
840 B
Plaintext
=== tests/cases/conformance/es6/Symbols/symbolType5.ts ===
|
|
var s = Symbol.for("multiply");
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
>Symbol.for : Symbol(SymbolConstructor.for, Decl(lib.es2015.symbol.d.ts, --, --))
|
|
>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
|
>for : Symbol(SymbolConstructor.for, Decl(lib.es2015.symbol.d.ts, --, --))
|
|
|
|
s * s;
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
|
|
s / s;
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
|
|
s % s;
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
|
|
s * 0;
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
|
|
0 / s;
|
|
>s : Symbol(s, Decl(symbolType5.ts, 0, 3))
|
|
|