mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
11 lines
237 B
TypeScript
11 lines
237 B
TypeScript
|
// @target: es6
|
||
|
class Base {
|
||
|
bar() {
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
class C extends Base {
|
||
|
// Gets emitted as super, not _super, which is consistent with
|
||
|
// use of super in static properties initializers.
|
||
|
[super.bar()]() { }
|
||
|
}
|