{"ScriptPreparationCode":"\r\n// Populate the base array\r\nvar arr = [];\r\nfor (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr[i] = i;\r\n}\r\n\r\nfunction fn(a) {\r\n return a * 2 * 5;\r\n}\r\n\r\n \r\n","TestCases":[{"Name":"For Loop","Code":"for(i=0;i\u003Carr.length;i\u002B\u002B) {\r\n fn(arr[i]); \r\n}","IsDeferred":false},{"Name":"While Loop","Code":"let i = -1;\r\n\r\nwhile(\u002B\u002Bi \u003C arr.length) {\r\n fn(arr[i]);\r\n}","IsDeferred":false}]}