forked from M3-Academy/challenge-algorithms-v2.0
5 lines
123 B
JavaScript
5 lines
123 B
JavaScript
export function maxValue(values) {
|
|
// implementar logica aqui
|
|
return (values.length == 0) ? 0 : Math.max(...values);
|
|
|
|
} |