{"ScriptPreparationCode":"var arr = []\r\nfor (i = 0; i \u003C 100; i\u002B\u002B) {\r\n arr.push({})\r\n}\r\n\r\nvar item = arr[arr.length / 2]","TestCases":[{"Name":"findIndex, splice","Code":"const newArr = Object.create(arr)\r\n\r\nnewArr.splice(\r\n newArr.findIndex(i =\u003E i === item),\r\n 1)","IsDeferred":false},{"Name":"filter","Code":"const newArr = Object.create(arr)\r\n\r\nnewArr.filter(i =\u003E i !== item)","IsDeferred":false},{"Name":"indexOf, splice","Code":"const newArr = Object.create(arr)\r\n\r\nnewArr.splice(\r\n newArr.indexOf(item),\r\n 1)","IsDeferred":false},{"Name":"indexOf, splice, check","Code":"const newArr = Object.create(arr)\r\n\r\nconst index = newArr.indexOf(item)\r\nif (index !== -1) { \r\n\tnewArr.splice(index, 1)\r\n}","IsDeferred":false},{"Name":"for, splice","Code":"const newArr = Object.create(arr)\r\n\r\nfor (i = 0; i \u003C newArr.length; i\u002B\u002B) {\r\n if (newArr[i] === item) { \r\n newArr.splice(i, 1)\r\n break\r\n }\r\n}","IsDeferred":false}]}