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