{"ScriptPreparationCode":null,"TestCases":[{"Name":"Preinitialized size - large difference","Code":"let arr = new Array(100000)\r\nfor (var i=0; i\u003C1000; i\u002B\u002B) {\r\n arr[i] = Math.random;\r\n}\r\narr = arr.slice(0, 1000)","IsDeferred":false},{"Name":"Push","Code":"let arr =[]\r\nfor (var i=0; i\u003C1000; i\u002B\u002B) {\r\n arr.push(Math.random);\r\n}","IsDeferred":false},{"Name":"Preinitialized size - small difference","Code":"let arr = new Array(1200)\r\nfor (var i=0; i\u003C1000; i\u002B\u002B) {\r\n arr[i] = Math.random;\r\n}\r\narr = arr.slice(0, 1000)","IsDeferred":false},{"Name":"Preinitilized size - no difference","Code":"let arr = new Array(1000)\r\nfor (var i=0; i\u003C1000; i\u002B\u002B) {\r\n arr[i] = Math.random;\r\n}\r\n","IsDeferred":false}]}