数组.forEach(function(item,index){ }) //forEach循环数组,item为循环数组中的每个对象,index为循环每个对象的位置。 转载于:https://www.cnblogs.com/ncloud/p/7735988.html