2022-10-27 15:07:13 +00:00
|
|
|
export function maxValue(values) {
|
|
|
|
// implementar logica aqui
|
2022-10-31 16:50:14 +00:00
|
|
|
if (values.length == 0) {
|
|
|
|
return 0
|
|
|
|
}
|
2022-10-31 15:45:34 +00:00
|
|
|
return Math.max(...values);
|
2022-10-31 16:50:14 +00:00
|
|
|
|
2022-10-27 15:07:13 +00:00
|
|
|
}
|