feat; feito a logica para valor maximo

This commit is contained in:
Ítalo Rosa Gonçalves 2022-11-02 17:31:08 -03:00
parent c54a67e0d5
commit fe2e566e3c

View File

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