export function maxValue(values) { // implementar logica aqui let res = Math.max(...values) if (values.length === 0){ return 0 } return res }