2015-02-05 00:33:53 +01:00
|
|
|
=== tests/cases/conformance/es6/computedProperties/computedPropertyNames18_ES5.ts ===
|
|
|
|
function foo() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(computedPropertyNames18_ES5.ts, 0, 0))
|
2015-02-05 00:33:53 +01:00
|
|
|
|
|
|
|
var obj = {
|
2015-04-13 23:01:57 +02:00
|
|
|
>obj : {}, Symbol(obj, Decl(computedPropertyNames18_ES5.ts, 1, 7))
|
2015-02-05 00:33:53 +01:00
|
|
|
>{ [this.bar]: 0 } : {}
|
|
|
|
|
|
|
|
[this.bar]: 0
|
|
|
|
>this.bar : any
|
|
|
|
>this : any
|
|
|
|
>bar : any
|
2015-04-13 21:36:11 +02:00
|
|
|
>0 : number
|
2015-02-05 00:33:53 +01:00
|
|
|
}
|
|
|
|
}
|