霸气翅膀

文章
4
资源
0
加入时间
2年10月24天

js for,while 正序降序循环遍历数组

var arr = ["小强","小红","小明","小白"];js for循环正序for(var i = 0;i console.log("My name is " + arr[i] + "!");};for(var i in arr){ console.log("My name is " + arr[i] + "!");}js for