{"ScriptPreparationCode":"var size = 100000;\r\nvar a = [];\r\nfor (var i = 0; i \u003C size; i\u002B\u002B){\r\n a.push(Math.random());\r\n}","TestCases":[{"Name":"Instantiate new array","Code":"var a1 = JSON.parse(JSON.stringify(a));\r\n\r\na1 = [];","IsDeferred":false},{"Name":"Set length to zero","Code":"var a2 = JSON.parse(JSON.stringify(a));\r\n\r\na2.length = 0;","IsDeferred":false},{"Name":"Splice at index zero","Code":"var a3 = JSON.parse(JSON.stringify(a));\r\n\r\na3.splice(0, a3.length);","IsDeferred":false},{"Name":"Pop all values","Code":"var a4 = JSON.parse(JSON.stringify(a));\r\n\r\nwhile(a4.length \u003E 0){\r\n a4.pop();\r\n}","IsDeferred":false}]}