<html>
<body>
<h1>Math.acosh()</h1>
<p>单击按钮显示 2 的双曲反余弦</p>
<button onclick="myFunction()">试一试</button>
<p id="demo"></p>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = Math.acosh(2);
}
</script>
</body>
</html>