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

11 lines
167 B
TypeScript

// @target: es5
class Base {
}
class C extends Base {
constructor() {
super();
var obj = {
[(super(), "prop")]() { }
};
}
}