nao foi pelo merge
This commit is contained in:
parent
a0f01e5816
commit
a808056b34
@ -1,4 +1,8 @@
|
||||
export function longestWords(words) {
|
||||
// implementar logica aqui
|
||||
|
||||
var longest ="";
|
||||
for (let word of words) {
|
||||
if (word.length >= longest.length) longest = word;
|
||||
}
|
||||
return longest;
|
||||
}
|
Loading…
Reference in New Issue
Block a user