TypeScript/tests/baselines/reference/computedPropertyNames18_ES5.types
2015-04-13 14:29:37 -07:00

16 lines
393 B
Plaintext

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