{"ScriptPreparationCode":"// Create sample data\r\nvar array = [1,2,3,4,5,6,7,8,9,0];\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}]}