{"ScriptPreparationCode":"var test = [];\r\n\r\nfor (let i = 0; i \u003C 100000; i\u002B\u002B) {\r\n test.push(i);\r\n}","TestCases":[{"Name":"Mutate array","Code":"for (let i = 0; i \u003C test.length; i\u002B\u002B) {\r\n test[i] = i * 2;\r\n}","IsDeferred":false},{"Name":"Memory efficient map","Code":"const copyTest = [];\r\nfor (let i = 0; i \u003C test.length; i\u002B\u002B) {\r\n const currentItem = test.shift();\r\n copyTest.push(currentItem * 2);\r\n}","IsDeferred":false}]}