function Rectangle(a, b) { this.a = a; this.b = b; } const r = new Rectangle(2, 3); console.log(r.a);