Merge pull request 'develop' (#12) from develop into master
Reviewed-on: #12
This commit is contained in:
commit
80b7f78b55
@ -1,4 +1,4 @@
|
|||||||
export function greet(name) {
|
export function greet(name) {
|
||||||
// implementar logica aqui
|
// implementar logica aqui
|
||||||
return "";
|
return `Hello ${name}`;
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
export function longestWords(words) {
|
export function longestWords(words) {
|
||||||
// implementar logica aqui
|
// implementar logica aqui
|
||||||
|
|
||||||
const lengthArray = []
|
const lengthArray = []
|
||||||
|
|
||||||
words.forEach(element => {
|
words.forEach(element => {
|
||||||
lengthArray.push([element, element.length ])
|
lengthArray.push([element, element.length])
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
let res = ['', 0]
|
let res = ['', 0]
|
||||||
|
|
||||||
lengthArray.forEach(array => {
|
lengthArray.forEach(array => {
|
||||||
|
Loading…
Reference in New Issue
Block a user