{"ScriptPreparationCode":null,"TestCases":[{"Name":"Filter","Code":"let array = [1,2,3,4,5,6,7,8]\r\nconst ignore = [2,4,7]\r\n\r\narray = array.filter(item =\u003E !ignore.includes(item));\r\nconsole.log(array);","IsDeferred":false},{"Name":"Splice","Code":"let array = [1,2,3,4,5,6,7,8]\r\nconst ignore = [2,4,7]\r\n\r\nfor(i = 0; i \u003C array.length; i\u002B\u002B)\r\n{\r\n if(ignore.includes(array[i]))\r\n {\r\n array.splice(i,1);\r\n i--;\r\n }\r\n}\r\n\r\nconsole.log(array);","IsDeferred":false}]}