{"ScriptPreparationCode":null,"TestCases":[{"Name":"for-loop (push)","Code":"let i = 1000\r\nwhile (i--) {\r\n\tlet arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\r\n \tlet mappedArr = []\r\n for (let each of arr) {\r\n mappedArr.push(each*5)\r\n }\r\n}","IsDeferred":false},{"Name":"for-loop (rest params)","Code":"let i = 1000\r\nwhile (i--) {\r\n\tlet arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\r\n \tlet mappedArr = []\r\n for (let each of arr) {\r\n mappedArr = [...mappedArr, each*5]\r\n }\r\n}","IsDeferred":false},{"Name":"Array.prototype.map()","Code":"let i = 1000\r\nwhile (i--) {\r\n\tlet arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\r\n let mappedArr = arr.map(each =\u003E each * 5)\r\n}","IsDeferred":false}]}