mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 15:23:33 +03:00
14 lines
190 B
TypeScript
14 lines
190 B
TypeScript
// @target: es6
|
|
class Base {
|
|
bar() {
|
|
return 0;
|
|
}
|
|
}
|
|
class C extends Base {
|
|
foo() {
|
|
var obj = {
|
|
[super.bar()]() { }
|
|
};
|
|
return 0;
|
|
}
|
|
} |