var json={a:1, b:21, c:'51'};
var arr=[5,12,51]; 通过arr[数字]获取 数组1 数组2 数组3
for(var i in json)
Json:用于存数据
循环:数组依然用for 0~length的方法,json用for in的方法。