Merge pull request 'feat(challenge-3): completed challenge' (#3) from feature/challenge-3 into develop

Reviewed-on: #3
This commit is contained in:
Henrique Santos Santana 2022-10-27 23:45:34 +00:00
commit 83dac1b3eb

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)
} }