feat(desafio): Adiciona terceira tarefa concluida

This commit is contained in:
Manuela Luana Schumacker Tavares 2022-10-28 14:53:24 -03:00
parent 28ce5269bb
commit 89dda96dfd

View File

@ -1,4 +1,10 @@
export function maxValue(values) { export function maxValue(values) {
// implementar logica aqui // implementar logica aqui
if(values.length == 1){
return values[i];
}else if(values.length == []){
return 0;
}else{
return Math.max.apply(null, values);
}
} }