abstract:<script> var a = 1 var b = 2 var c = a + b document.write(c) </script>运行后网站页面会显示c的变量,也就是1+2=3。
<script> var a = 1 var b = 2 var c = a + b document.write(c) </script>
运行后网站页面会显示c的变量,也就是1+2=3。
Correcting teacher:天蓬老师Correction time:2019-04-24 15:33:17
Teacher's summary:document.write(c), 输出到控制台, 岂不更妙?
console.log(c);