mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
790a262c07
swc_babel_ast: - Rename as `swc_estree_ast`. swc_babel_compat: - Rename as `swc_estree_compat`. swc_babel_visit: - Rename as `swc_estree_visit`.
8 lines
151 B
JavaScript
8 lines
151 B
JavaScript
class Rectangle {
|
|
constructor(height, width) {
|
|
this.height = height;
|
|
this.width = width;
|
|
}
|
|
}
|
|
const rect = new Rectangle(2, 3);
|