{"ScriptPreparationCode":"var array = [];\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n array[i] = i;\r\n}\r\n\r\nvar firstTestResults = [];\r\nvar secondTestResults = [];","TestCases":[{"Name":"array.forEach()","Code":"array.forEach((value) =\u003E {\r\n\tvalue = value \u002B 10;\r\n \tif (value % 2 === 0) {\r\n \tfirstTestResults.push(value);\r\n }\r\n});","IsDeferred":false},{"Name":"array.reduce()","Code":"secondTestResults = array.reduce((acc, value) =\u003E {\r\n\tvalue = value \u002B 10;\r\n \tif (value % 2 === 0) {\r\n \tacc.push(value);\r\n }\r\n \treturn acc;\r\n}, []);","IsDeferred":false}]}