criando o codigo do valor maximo que deve retornar

This commit is contained in:
PATRICK DE SOUZA SILVA 2022-10-28 17:43:51 -03:00
parent c6f6df9c59
commit 3b622e2aba

View File

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