单项选择题
A.Math.floor(Math.random()*6) B.Math.floor(Math.random()*7) C.Math. floor(Math.random()*8) D.Math.ceil(Math.random()*8)
将字串s中的所有字母变为小写字母的方法是()A.s.toSmallCase() B.s.toLowerCas...
单项选择题将字串s中的所有字母变为小写字母的方法是()
A.s.toSmallCase() B.s.toLowerCase() C.s.toUpperCase() D.s.toUpperChars()
JS语句 var a1=10; var a2=20; alert(“a1+a2=”+a1+a2) 将显...
JS语句 var a1=10; var a2=20; alert(“a1+a2=”+a1+a2) 将显示()结果
A.a1+a2=30 B.a1+a2=1020 C.a1+a2=a1+a2 D.显示错误
有语句“var x=0;while(____) x+=2;”,要使while循环体执行10次,空白处的循环判定...
单项选择题有语句“var x=0;while(____) x+=2;”,要使while循环体执行10次,空白处的循环判定式应写为:()
A.x<10 B.x<=10 C.x<20 D.x<=20