feat(desafio03):desafio-completo #3

Merged
nicolasrosadeoliveira merged 1 commits from feature/desafio03 into develop 2022-10-28 13:20:59 +00:00
Showing only changes of commit 4e0a8ab21b - Show all commits

View File

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