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