Posts by user139990 • 36 points
1 post
-
2
votes1
answer65
viewsA: Is it possible to create object inside object in a constructor class?
You can declare an anonymous object (no class) within your constructor. class Cliente{ constructor(name, cpf, status, email, tel) { this.name = name this.cpf = cpf this.status = status this.contact…