1
<p id="demo">单击按钮显示 JavaScript最小值的可能。</p>
2
<button onclick="myFunction()">点我</button>
3
<script>
4
function myFunction() {
5
document.getElementById("demo").innerHTML = Number.MIN_VALUE;
6
}
7
</script>
<p id="demo">单击按钮显示 JavaScript最小值的可能。</p>
<button onclick="myFunction()">点我</button>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = Number.MIN_VALUE;
}
</script>