2015-01-30 02:15:57 +01:00
|
|
|
=== tests/cases/conformance/es6/Symbols/symbolProperty4.ts ===
|
|
|
|
var x = {
|
|
|
|
>x : {}
|
|
|
|
>{ [Symbol()]: 0, [Symbol()]() { }, get [Symbol()]() { return 0; }} : {}
|
|
|
|
|
|
|
|
[Symbol()]: 0,
|
2015-02-04 02:18:50 +01:00
|
|
|
>Symbol() : symbol
|
2015-01-30 02:15:57 +01:00
|
|
|
>Symbol : SymbolConstructor
|
|
|
|
|
|
|
|
[Symbol()]() { },
|
2015-02-04 02:18:50 +01:00
|
|
|
>Symbol() : symbol
|
2015-01-30 02:15:57 +01:00
|
|
|
>Symbol : SymbolConstructor
|
|
|
|
|
|
|
|
get [Symbol()]() {
|
2015-02-04 02:18:50 +01:00
|
|
|
>Symbol() : symbol
|
2015-01-30 02:15:57 +01:00
|
|
|
>Symbol : SymbolConstructor
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|