📜  在javascript代码示例中单行打印

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

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