TypeScript/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5.types

29 lines
564 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit5_ES5.ts ===
var v = {
>v : {}
>{ ["" + ""]: 0, ["" + ""]() { }, get ["" + ""]() { return 0; }, set ["" + ""](x) { }} : {}
["" + ""]: 0,
>"" + "" : string
2015-04-13 21:36:11 +02:00
>"" : string
>"" : string
>0 : number
["" + ""]() { },
>"" + "" : string
2015-04-13 21:36:11 +02:00
>"" : string
>"" : string
get ["" + ""]() { return 0; },
>"" + "" : string
2015-04-13 21:36:11 +02:00
>"" : string
>"" : string
>0 : number
set ["" + ""](x) { }
>"" + "" : string
2015-04-13 21:36:11 +02:00
>"" : string
>"" : string
>x : any
}