develop #12

Merged
Rhayllon_Daudt merged 22 commits from develop into master 2022-11-01 00:35:27 +00:00
Showing only changes of commit 22b68f6702 - Show all commits

View File

@ -1,4 +1,10 @@
export function longestWords(words) {
// implementar logica aqui
let longest = ""
for (let word of words){
if (word.length > longest.length) longest = word;
}
let longest_words = words.filter(item => item.length >= longest.length)
return longest_words
}