{"ScriptPreparationCode":"// Create sample data\r\nconst array = Array.from({ length: 100000 }, () =\u003E Math.floor(Math.random() * 1_000_000));\r\n\r\nvar manipulateFn = num =\u003E {\r\n\treturn num * 2 * 3;\r\n}","TestCases":[{"Name":".map","Code":"var newArray = array.map( i =\u003E manipulateFn(i));","IsDeferred":false},{"Name":"for loop","Code":"var newArray = [];\r\nfor (let i=0; i\u003Carray.length; i\u002B\u002B) {\r\n\tnewArray.push(manipulateFn(array[i]));\r\n}","IsDeferred":false}]}