📜  如何在javascript代码示例中打印一行

📅  最后修改于: 2022-03-11 15:04:24.128000             🧑  作者: Mango

代码示例2
var s = "";
for(var i = 1; i < 11; i += 1) {
  s += i + " ";
}
console.log(s);