<!DOCTYPE html>
<html>
<body>
<h1>JavaScript 数学</h1>
<p>Math.LN10 返回 10 的自然对数,大约为 2.302:</p>
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = Math.LN10;
</script>
</body>
</html>