{"ScriptPreparationCode":"var map = new Map()\r\nvar array2 = new Array(150)\r\nvar del = false;\r\nfor (var i = 0; i \u003C 100; i \u002B\u002B) {\r\nvar insert = Math.random();\r\n map.set(i,insert)\r\n if (i == 50) del = insert;\r\n array2.push(insert)\r\n}\r\n","TestCases":[{"Name":"map delete","Code":"map.delete(i)","IsDeferred":false},{"Name":"Alloc delete","Code":"var ind = array2.indexOf(del)\r\nif (ind != -1) array2.splice(ind,50)","IsDeferred":false}]}