{"ScriptPreparationCode":"var count = 100000\r\nvar myArray = [];\r\n\r\nfor (var i = 0; i \u003C count; i\u002B\u002B) { myArray.push(Math.random() * 5) }\r\n\r\nArray.prototype.forEach2=function(a){\r\n var l=this.length;\r\n for(var i=0;i\u003Cl;i\u002B\u002B)a(this[i],i)\r\n}","TestCases":[{"Name":"lodash forEach","Code":"_.forEach(myArray, (value, index) =\u003E {\r\n myArray[index] = value \u002B 1;\r\n});","IsDeferred":false},{"Name":"Array.prototype.forEach()","Code":"myArray.forEach((value, index) =\u003E {\r\n myArray[index] = value \u002B 1;\r\n});","IsDeferred":false},{"Name":"Traditional for loop","Code":"for (var index = 0; index \u003C myArray.length; index\u002B\u002B) {\r\n myArray[index] = myArray[index] \u002B 1;\r\n}","IsDeferred":false},{"Name":"Custom Array.prototype.forEach()","Code":"myArray.forEach2((value, index) =\u003E {\r\n myArray[index] = value \u002B 1;\r\n});","IsDeferred":false}]}