export function maxValue(values) { // implementar logica aqui var maiorNumero = 0; if (values.length <1) { maiorNumero = 0; } else { maiorNumero = Math.max.apply(Math,values) ; } return maiorNumero; }