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