feat: solucao maxValue #3

Merged
Rafael_Sampaio_de_Oliveira merged 1 commits from feature/solucao-maxValue into development 2022-10-28 11:31:22 +00:00
Showing only changes of commit e6a9ae42a3 - Show all commits

View File

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