diff --git a/10-longestWords/index.js b/10-longestWords/index.js index 096148b..6c3b99a 100644 --- a/10-longestWords/index.js +++ b/10-longestWords/index.js @@ -27,12 +27,3 @@ export function longestWords(words) { }) } return finalResult } -// let palavra = []; -// for (let word = 0; word < words.length; word++) { -// if (palavra < word.length) palavra = word; -// } -// let palavraLonga = [] -// for (let i = 0; i < palavra.length; i++) { -// if (i.length == palavra.length) palavraLonga = words[i]; -// } -// return palavraLonga; \ No newline at end of file