{"ScriptPreparationCode":"var arr = [];\r\nfor (var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n arr.push(Math.floor(Math.random() * 1000));\r\n}\r\nvar itemToRemove = arr[Math.floor(Math.random() * 10000)]","TestCases":[{"Name":"indexOf \u002B splice","Code":"arr.splice(arr.indexOf(itemToRemove), 1)","IsDeferred":false},{"Name":"filter","Code":"arr = arr.filter(el =\u003E el !== itemToRemove)","IsDeferred":false}]}