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

3 lines
76 B
JavaScript

export function maxValue(values) {
return Math.max.apply(null, values);
}