diff --git a/10-longestWords/index.js b/10-longestWords/index.js index e62d630..dc8582d 100644 --- a/10-longestWords/index.js +++ b/10-longestWords/index.js @@ -7,7 +7,4 @@ export function longestWords(words) { maior = string; } } - const maiores = words.filter((string) => string.length == maior.length); - - return maiores } \ No newline at end of file