forked from M3-Academy/challenge-algorithms-v2.0
feat; feito a logica para valor maximo
This commit is contained in:
parent
c54a67e0d5
commit
fe2e566e3c
@ -1,4 +1,6 @@
|
||||
export function maxValue(values) {
|
||||
// implementar logica aqui
|
||||
|
||||
}
|
||||
if( values == 0)
|
||||
return 0
|
||||
return Math.max (...values )
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user