<!DOCTYPE html>
<html>
<body>
<h1>JavaScript 语句</h1>
<h2>let 语句</h2>
<p>创建名为 carName 的变量并将赋值 "Volvo" 给它:</p>
<p id="demo"></p>
<script>
let carName = "Volvo";
document.getElementById("demo").innerHTML = carName;
</script>
</body>
</html>