Posts by érika • 31 points
1 post
-
3
votes4
answers876
viewsQ: How to capitalize all words in an array using toUpper?
The function needs to return all words of the array in uppercase. function transformaParaMaiusculo(palavras){ for (let i=0; i<palavras.lengh; i++){ palavras.push(palavras[i].toUpperCase()) }…