{"ScriptPreparationCode":"var a = [];\r\nfor (var i=0; i \u003C 10000000;i\u002B\u002B){\r\n a.push(\u0022item\u0022\u002Bi \u002B Math.random());\r\n}\r\n\r\nfunction remove(arr) {\r\n while(arr.length) {\r\n arr.shift(); \r\n }\r\n}\r\n\r\n\r\n\r\nfunction remove2(arr) {\r\n while(arr.length) {\r\n arr.pop(); \r\n }\r\n}\r\n\r\n","TestCases":[{"Name":"Length = 0","Code":"a.length = 0;","IsDeferred":false},{"Name":"Splice","Code":"a.splice(0, a.length-1);","IsDeferred":false},{"Name":"Shift","Code":"remove(a);","IsDeferred":false},{"Name":"Pop","Code":"remove2(a);","IsDeferred":false},{"Name":"array = []","Code":"a = [];","IsDeferred":false}]}