criando o codigo do valor maximo que deve retornar
This commit is contained in:
parent
c6f6df9c59
commit
3b622e2aba
@ -1,4 +1,8 @@
|
||||
export function maxValue(values) {
|
||||
// implementar logica aqui
|
||||
|
||||
if (values.length) {
|
||||
return Math.max(...values)
|
||||
}
|
||||
return 0
|
||||
}
|
Loading…
Reference in New Issue
Block a user