javascript-basic-foreach-array

遍历数组

by boxcore

JavaScript

var num=["a","b","c"];
		for(var i=0;i<num.length;i++){
			alert(num[i]);
		}