forked from M3-Academy/challenge-algorithms-v2.0
10-resolvido
This commit is contained in:
parent
9d6abdd1be
commit
70196f39a7
@ -7,4 +7,7 @@ export function longestWords(words) {
|
||||
maior = string;
|
||||
}
|
||||
}
|
||||
const maiores = words.filter((string) => string.length == maior.length);
|
||||
|
||||
return maiores;
|
||||
}
|
Loading…
Reference in New Issue
Block a user