{"ScriptPreparationCode":"function generateTestArray() {\r\n const testData = [];\r\n for (let i = 0; i \u003C 100; \u002B\u002Bi) {\r\n testData.push({\r\n height: i,\r\n width: i * 2,\r\n result: 0\r\n });\r\n }\r\n return testData;\r\n}","TestCases":[{"Name":".forEach","Code":"const array = generateTestArray();\r\narray.forEach((item) =\u003E {\r\n item.result = item.height * item.width;\r\n});","IsDeferred":false},{"Name":"for..of","Code":"const array = generateTestArray();\r\nfor(const item of array) {\r\n\titem.result = item.height * item.width;\r\n}","IsDeferred":false},{"Name":"for","Code":"const array = generateTestArray();\r\nfor (let i = 0; i \u003C array.length; \u002B\u002Bi) {\r\n array[i].result = array[i].height * array[i].width;\r\n}","IsDeferred":false}]}