Let's say I have a class.
class Room {
constructor() {
this.width = 100
this.height = 200
}
}
I would like to bind additional properties to it at instantiation.
new Room.bind({ capacity: 5 })()
Is this possible? (without doing it through arguments)