js遍历数组 循环json数组

JS数组的遍历方法有两种:jquery 一:通常的for循环,例如:json 1数组 2app 3iphone 4this var a = new Array("first", "second", "third") spa for(var i = 0;i < a.length; i++) {code document.write(a[i]+",");对象 }ip 输出的结果:fitst,secon
相关文章
相关标签/搜索