mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
19 lines
255 B
JavaScript
19 lines
255 B
JavaScript
class Foo {
|
|
constructor() {
|
|
this.constructor;
|
|
}
|
|
}
|
|
class Bar extends Foo {
|
|
constructor() {
|
|
// This is probably bad...
|
|
this.constructor;
|
|
super();
|
|
}
|
|
}
|
|
class Baz extends Foo {
|
|
constructor() {
|
|
super();
|
|
this.constructor;
|
|
}
|
|
}
|