loading...

re: What’s your alternative solution? Challenge #15 VIEW POST

FULL DISCUSSION
 

This is the first that came to mind

let numbers = [-2, 33, 12, -6, -10, 25];

let max = Math.max(...numbers);

console.log(max); // 33
code of conduct - report abuse