Edit This Code:
See Result »
Math.max() returns the highest value.
Try it
Result: