15 lines
279 B
Text
15 lines
279 B
Text
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames18_ES6.ts ===
|
|
function foo() {
|
|
>foo : () => void
|
|
|
|
var obj = {
|
|
>obj : {}
|
|
>{ [this.bar]: 0 } : {}
|
|
|
|
[this.bar]: 0
|
|
>this.bar : any
|
|
>this : any
|
|
>bar : any
|
|
>0 : number
|
|
}
|
|
}
|