development #1

Merged
MarcelloMartins merged 23 commits from development into master 2022-10-31 21:45:09 +00:00
Showing only changes of commit 82346e67ca - Show all commits

View File

@ -1,4 +1,14 @@
export function maxValue(values) { export function maxValue(values) {
// implementar logica aqui // implementar logica aqui
if (values.length == 0){
return 0;
}
return values.reduce((maiornum,atualnum) => {
if(maiornum > atualnum){
return maiornum;
}
else{
return atualnum;
}
})
} }