feat(maxValue): Finaliza algoritmo
This commit is contained in:
parent
b7e0d17d1e
commit
59ff8f2a54
@ -1,4 +1,8 @@
|
||||
export function maxValue(values) {
|
||||
// implementar logica aqui
|
||||
if(values.length === 0) {
|
||||
return values.length;
|
||||
}
|
||||
|
||||
return Math.max(...values)
|
||||
}
|
Loading…
Reference in New Issue
Block a user