+ 1
write script using loop
1 12 123 1234 12345
2 Respostas
+ 5
var s = "";
for(var i = 1; i<=5; i++){
s += i;
document.writeln(s);
}
0
var num="";
for(var i=1 i<=5 i++){
num+=i;
document.write("num"+<br/>)
}
哇哈哈,很简单啊!
1 12 123 1234 12345