each(obj,function()){} obj需要判断是否为undefined,因为each为遍历,需访问obj的length属性,undefined没有length属性 来源:https://www.cnblogs.com/love-dream-88/p/11550407.html 标签 each