{"ScriptPreparationCode":"function generateTestArray() {\r\n const result = [];\r\n for (let i = 0; i \u003C 1000000; \u002B\u002Bi) {\r\n result.push({\r\n a: i,\r\n b: i / 2,\r\n r: 0,\r\n });\r\n }\r\n return result;\r\n}","TestCases":[{"Name":".forEach","Code":"const array = generateTestArray();\r\narray.forEach((x) =\u003E {\r\n x.r = x.a \u002B x.b;\r\n});","IsDeferred":false},{"Name":"for","Code":"const array = generateTestArray();\r\nfor(let index = 0; index \u003C array.length; index\u002B\u002B) {\r\n\tarray[index].r = array[index].a \u002B array[index].b;\r\n}","IsDeferred":false},{"Name":"for name first","Code":"const array = generateTestArray();\r\nfor(let index = 0; index \u003C array.length; index\u002B\u002B) {\r\n const value = array[index]\r\n\tvalue.r = value.a \u002B value.b;\r\n}","IsDeferred":false}]}