challenge-algorithms-v2.0_c.../03-maxValue/index.js

3 lines
76 B
JavaScript
Raw Normal View History

export function maxValue(values) {
2022-10-28 12:00:55 +00:00
return Math.max.apply(null, values);
}