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

14 lines
190 B
TypeScript

// @target: es5
class Base {
bar() {
return 0;
}
}
class C extends Base {
foo() {
var obj = {
[super.bar()]() { }
};
return 0;
}
}