swc/babel/compat/tests/fixtures/class-unnamed/input.js

7 lines
124 B
JavaScript
Raw Normal View History

let Rectangle = class {
constructor(height, width) {
this.height = height;
this.width = width;
}
};