<!DOCTYPE html>标签:24,12,name,SCRIPT,alert,let,var From: https://www.cnblogs.com/RUI2022/p/17003387.html
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script>
<!--采用严格检查模式 use strict 放在第一行
let 定义局部变量-->
'use strict';
let i=1;
var num = 1;
var name = "lr";
alert(name);
if (2>1){
alert("true");
}
//在浏览器的控制台打印 console.log(score) 可以用来调试
</script>
</head>
<body>
</body>
</html>;