Posts by Guilherme • 51 points
2 posts
-
0
votes0
answers13
viewsQ: Doubt about this and Arrow Function
Good afternoon, I have a question about this and Arrow Function. For example: const user = { age: 32, halfAge(){ return this.age/2; }, doubleAge: () => 2 * this.age; }…
-
4
votes6
answers2089
viewsQ: Check if a String contains two words
I have a problem with this exercise here: Write a class that validates data (Validacao), with a method to validate a given name (ehNomeValido(nome)). The method must return true pass the following…