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

7 lines
86 B
TypeScript

// @target: es5
class C {
bar() {
return 0;
}
[this.bar()]() { }
}