vara=newArray("100","2111","41111"); for(vari=0;iA: 100211141111
B: 012
C: 123
D: 124
B: 012
C: 123
D: 124
举一反三
- 分析下面的JavaScript代码段:a=newArray("100","2111","41111");for(vari=0;i<a.length;i){document.write(a[i]"");}输出结果是()。[/i] A: 100211141111 B: 123 C: 012 D: 124
- 分析下面的JavaScript代码段: var a = new Array("100","2111","41111"); for(var i = 0;i < a.length;i++) { document.write(a[i]+" "); } 执行输出结果是( )。[/i] A: "100"+"2111"+"41111" B: "100211141111" C: "100+2111+41111" D: 100 2111 41111
- 分析下面的JavaScript代码段:var a = new Array("100","2111","41111");for(var i = 0;i < a.length;i++){ document.write(a[i]+" "); }执行输出结果是( )。[/i] A: "100"+"2111"+"41111" B: "100211141111" C: "100+2111+41111" D: 100 2111 41111
- 【单选题】分析下面的JavaScript代码段: A: = new Array("100","2111","41111");<br>for(var i = 0;i < a.length;i++ ){<br> document.write(a[i] + " ");<br>}<br>输出结果是(选一项)<br>A.100 2111 41111 B: 1 2 3 C: 0 1 2 D: 1 2 4
- vara=[];for(vari=0;i<10;i++){a[i]=function(){console.log(i);};}a[6]();输出结果是1。[/i]