(nome, idade)
| 5 | anoDeNascimento; |
| 6 | |
| 7 | constructor(nome, idade) { |
| 8 | this.nome = nome; |
| 9 | this.idade = idade; |
| 10 | this.anoDeNascimento = 2022 - idade; |
| 11 | } |
| 12 | |
| 13 | descrever() { |
| 14 | console.log(`Meu nome é ${this.nome} e minha idade é ${this.idade}`); |
nothing calls this directly
no outgoing calls
no test coverage detected