class Vegetable { constructor(name) { this.name = name; } } const carrot = new Vegetable('carrot');
class Func { constructor(a, b) { this.a = a this.b = b } getSum() { return this.a + this.b } } let x = new Func(3, 4)