<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Math.max()</h1>
<p>Math.max() 返回参数列表中的最高值:</p>
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML =
Math.max(0, 150, 30, 20, -8, -200);
</script>
</body>
</html>