模拟实现JS( forEach)方法
<script type="text/javascript"> function addEachMethod(obj,attrName){ obj[attrName] = function(fn) { var keys = Object.keys(this); this.fn = fn; window.newArr = []; for (var i = ...