This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.
Smartphone icons created by Freepik - Flaticon
This example returns the highest number in an array of numbers:
document.getElementById("demo").innerHTML = Math.max.apply(0, [1,2,3]);