js里forEach和each的区别 云柯

forEach是js中的方法(针对数组);

each是jQuery中的方法(针对jQuery对象,即$());

原文地址:https://www.cnblogs.com/yunke/p/13656153.html