一.对象是数组: var arr = [9, 8, 7, 6, 5, 4, 3, 2, 1]; //each遍历: $.each(arr,function (index,value) { alert(index) }) //0 1 2 3 4 5 6 7 8 $.each(arr,function (index,value) { alert(value) }) //9 8 7 6 5 4 3 2 1 $.each(arr,function () { alert(this) }) //9 8 7…