JavaScript: Max in set #9
Ready — edit the code above and click Run.
console.log(Math.max(9,10,11,12,13));
Try solving on your own first, then reveal the official answer.
Array methods are core to JS interviews.