I have a class:
class Rectangle { constructor(height, width) { this.height = height; this.width = width; } }
How can I get the properties height and width as strings without having an instance of Rectangle?
height
width
Rectangle
Aucun commentaire:
Enregistrer un commentaire