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

7 lines
128 B
TypeScript

// @target: es5
// @declaration: true
class C {
["" + ""]() { }
get ["" + ""]() { return 0; }
set ["" + ""](x) { }
}