export function longestWords(words) { // implementar logica aqui var longest =""; for (let word of words) { if (word.length >= longest.length) longest = word; } return longest; }