js console log string formating starting point

前端 未结 0 480
旧巷少年郎
旧巷少年郎 2021-01-23 19:22
let amounts = [1,10,100]
let animals = [cat,dog,horse]
for (let n = 0; n<3; n++){
console.log("I have " + amounts[n] + " of " + animals[n] + "         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题