js forEach方法

知道存在该方法即可,据说在chrome中正常使用,在ie中需要预处理。推荐使用for遍历数组。

也可以参考:https://blog.csdn.net/oscar999/article/details/8671546

原文地址:https://www.cnblogs.com/JAVA-STUDYER/p/10879513.html