9 lines
136 B
JavaScript
9 lines
136 B
JavaScript
export function maxValue(values) {
|
|
// implementar logica aqui
|
|
|
|
if (values.length) {
|
|
return Math.max(...values)
|
|
}
|
|
return 0
|
|
}
|