23ji基础,变量
作者:互联网
<head>
<meta charset="UTF-8">
<title>变量和数据类型</title>
</head>
<body>
<script>
/*变量的声明*/
var num;
var n1=100;
let num2 = "123ff";
let n2 = 89.4;
document.writeln("num;"+num+"<br>");
document.writeln("n1;"+n1+"<br>");
document.writeln("num2;"+num2+"<br>");
document.writeln("n2;"+n2+"<br>");
</script>
</body>
标签:23ji,变量,num2,基础,writeln,num,n1,n2,document 来源: https://www.cnblogs.com/wgbl/p/16125144.html