TypeScript/tests/baselines/reference/computedPropertyNames18.types
2015-01-19 16:37:10 -08:00

15 lines
262 B
Plaintext

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