智慧职教: 下面带有JS脚本的HTML片段,在浏览器运行,结果为:( )```html var a = 10;var a = 0;alert(a);```
举一反三
- 智慧职教: 下面带有JS脚本的HTML片段,在浏览器运行,结果为:( )```html < script type="text/javascript">var a = 10;< /script>< script type="text/javascript">var a = 0;alert(a);< /script>```
- 智慧职教: 下面JS代码在浏览器运行,弹出框内容是``` var a;var b;alert(a === b);```
- 智慧职教: 下面JS代码在浏览器运行的现象是:( )```javascript var array = ["北","京","欢","迎","你"];for(var a in array){alert(a);}```
- JS语句 var a1=10; var a2=20; alert("a1+a2="+a1+a2) 将显示结果
- 写出下面代码的运行结果。var a, b;(function() {alert(a);alert(b);var a = b = 3;alert(a);alert(b);})();alert(a);alert(b);