feat(challenge-3): completed challenge #3

Merged
HenriqueSantosSantana merged 1 commits from feature/challenge-3 into develop 2022-10-27 23:45:35 +00:00

View File

@ -1,4 +1,6 @@
export function maxValue(values) { export function maxValue(values) {
// implementar logica aqui // implementar logica aqui
if(values.length === 0 || !values) return 0
return Math.max(...values)
} }