{"ScriptPreparationCode":"var array = new Array(1000).fill(1);","TestCases":[{"Name":"for","Code":"const result = [];\r\n\r\nfor (var i = 0; i \u003C array.length; i\u002B\u002B) {\r\n result.push(array[i] * 2);\r\n}","IsDeferred":false},{"Name":"foreach","Code":"const result = [];\r\n\r\narray.forEach(function(i) {\r\n result.push(i * 2);\r\n});","IsDeferred":false},{"Name":"some","Code":"const result = array.map(function(i) {\r\n return i * 2;\r\n});","IsDeferred":false},{"Name":"for..of","Code":"const result = [];\r\n\r\nfor (var i of array) {\r\n result.push(i * 2);\r\n}","IsDeferred":false}]}