TypeScript/tests/baselines/reference/computedPropertyNames18_ES5.types
2015-04-15 16:44:20 -07:00

16 lines
279 B
Plaintext

=== tests/cases/conformance/es6/computedProperties/computedPropertyNames18_ES5.ts ===
function foo() {
>foo : () => void
var obj = {
>obj : {}
>{ [this.bar]: 0 } : {}
[this.bar]: 0
>this.bar : any
>this : any
>bar : any
>0 : number
}
}