📅  最后修改于: 2022-03-11 15:04:02.752000             🧑  作者: Mango
var myStringArray = ["Hello","World"];
var arrayLength = myStringArray.length;
for (var i = 0; i < arrayLength; i++) {
console.log(myStringArray[i]);
//Do something
}
Run code snippet