JavaScript奇技淫巧之遍历数组
正常的for循环就不提了,直接进入正题。如下: //示例1for(var i=0,a;a=["jack","tom","lily","andy"][i++];){ console.log(a);}//示例2var ary = ["jack","tom","lily&