{"ScriptPreparationCode":"var size = 100000;\r\n\r\nvar arr1 = [];\r\nvar arr2 = [];\r\nvar arr3 = [];\r\nvar arr4 = [];\r\n\r\nfor (var i = 0; i \u003C size; i\u002B\u002B){\r\n arr1.push(i);\r\n arr2.push(i);\r\n arr3.push(i);\r\n arr4.push(i);\r\n}","TestCases":[{"Name":"Just instantiate new array","Code":"arr1 = [];","IsDeferred":false},{"Name":"Set length to zero","Code":"arr2.length = 0;","IsDeferred":false},{"Name":"Splice","Code":"arr3.splice(0, arr3.length);","IsDeferred":false},{"Name":"Pop all values","Code":"while(arr4.length \u003E 0){\r\n arr4.pop();\r\n}","IsDeferred":false}]}