feature/algoritmo #11

Merged
ManuelaLuanaSchumackerTavares merged 21 commits from feature/algoritmo into master 2022-10-31 17:24:28 +00:00
Showing only changes of commit 89dda96dfd - Show all commits

View File

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