swc/crates/swc_ecma_parser/tests/tsc/computedPropertyNamesDeclarationEmit5_ES6.ts

8 lines
148 B
TypeScript

// @target: es6
// @declaration: true
var v = {
["" + ""]: 0,
["" + ""]() { },
get ["" + ""]() { return 0; },
set ["" + ""](x) { }
}