{"ScriptPreparationCode":"// Create sample data\r\nvar array = [1,2,3,4];\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\nvar length = array.length\r\nfor (var i=0; i\u003Clength; i\u002B\u002B) {\r\n\tnewArray.push(manipulateFn(array[i]));\r\n}","IsDeferred":false}]}