mirror of
https://github.com/swc-project/swc.git
synced 2025-01-02 02:26:09 +03:00
c6b22c57f8
Co-authored-by: Fábio Santos <fabiosantosart@gmail.com>
12 lines
217 B
JavaScript
12 lines
217 B
JavaScript
class SomeClass {
|
|
constructor() {}
|
|
foo() {}
|
|
}
|
|
class NoSemi {
|
|
constructor(...args) {}
|
|
foo() {}
|
|
}
|
|
class ChildClass extends SomeClass {}
|
|
var asExpression = class AsExpression {};
|
|
var nameless = class {};
|