TypeScript/tests/baselines/reference/symbolProperty4.types

23 lines
454 B
Plaintext
Raw Normal View History

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