20 lines
497 B
Text
20 lines
497 B
Text
=== tests/cases/conformance/es6/Symbols/symbolProperty2.ts ===
|
|
var s = Symbol();
|
|
>s : Symbol(s, Decl(symbolProperty2.ts, 0, 3))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
|
|
var x = {
|
|
>x : Symbol(x, Decl(symbolProperty2.ts, 1, 3))
|
|
|
|
[s]: 0,
|
|
>s : Symbol(s, Decl(symbolProperty2.ts, 0, 3))
|
|
|
|
[s]() { },
|
|
>s : Symbol(s, Decl(symbolProperty2.ts, 0, 3))
|
|
|
|
get [s]() {
|
|
>s : Symbol(s, Decl(symbolProperty2.ts, 0, 3))
|
|
|
|
return 0;
|
|
}
|
|
}
|