develop #12

Merged
PatrickSouzaSilva merged 3 commits from develop into master 2022-11-02 21:18:10 +00:00
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
export function greet(name) {
// implementar logica aqui
return "";
return `Hello ${name}`;
}

View File

@ -1,12 +1,12 @@
export function longestWords(words) {
// implementar logica aqui
const lengthArray = []
words.forEach(element => {
lengthArray.push([element, element.length ])
lengthArray.push([element, element.length])
})
let res = ['', 0]
lengthArray.forEach(array => {
@ -24,4 +24,4 @@ export function longestWords(words) {
})
return AllLongestWords
}
}