2022-10-27 15:07:13 +00:00
|
|
|
export function maxValue(values) {
|
|
|
|
// implementar logica aqui
|
2022-10-28 17:53:24 +00:00
|
|
|
if(values.length == 1){
|
|
|
|
return values[i];
|
|
|
|
}else if(values.length == []){
|
|
|
|
return 0;
|
|
|
|
}else{
|
|
|
|
return Math.max.apply(null, values);
|
|
|
|
}
|
2022-10-27 15:07:13 +00:00
|
|
|
}
|