循环数组
// index:索引
// item:数组项
$.each(array, function (index, item) {
... ...
})
循环对象
// key:key
// value:value
$.each(obj, function (key, value) {
... ...
})
跳过本次循环
$.each(array, function () {
return true
})
跳出本次循环
$.each(array, function () {
return false
})
标签:function,...,value,key,each,array
From: https://www.cnblogs.com/ttddk/p/16642603.html