{"ScriptPreparationCode":"\r\n// Populate the base array\r\nvar arr = [];\r\nfor (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr[i] = i;\r\n}\r\n\r\nfunction fn(a) {\r\n return a * 2 * 5;\r\n}\r\n\r\n \r\n","TestCases":[{"Name":"lodash.each","Code":"_.forEach(arr,fn)","IsDeferred":false},{"Name":"native","Code":"arr.forEach(fn)","IsDeferred":false},{"Name":"for loop","Code":"for(i=0;i\u003Carr.length;i\u002B\u002B)\r\n fn(arr[i]);","IsDeferred":false},{"Name":"jQuery each","Code":"$.each(arr,fn);","IsDeferred":false},{"Name":"layui each","Code":"layui.each(arr,function(i,e){fn(e)})","IsDeferred":false}]}