{"ScriptPreparationCode":"function spliceIt(array, elementIdx) {\r\n const newArr = [...array]\r\n newArr.splice(elementIdx, 1);\r\n return newArr;\r\n}\r\n\r\nfunction filterIt(array, elementIdx) {\r\n return array.filter((el, idx) =\u003E idx !== elementIdx);\r\n}","TestCases":[{"Name":"filter","Code":"filterIt(array, 5);","IsDeferred":false},{"Name":"splice","Code":"spliceIt(array, 5);","IsDeferred":false}]}