{"ScriptPreparationCode":null,"TestCases":[{"Name":"Reduce","Code":"var array = Array.from(Array(1000000).keys());\r\n\r\nlet newArr = array.reduce((acc, cur) =\u003E {acc.push(cur); return acc;}, [])","IsDeferred":false},{"Name":"Push","Code":"var array = Array.from(Array(1000000).keys());\r\n\r\nlet newArr = [];\r\n\r\narray.forEach(x =\u003E newArr.push(x))","IsDeferred":false}]}