{"ScriptPreparationCode":null,"TestCases":[{"Name":"splice","Code":"let array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 24, 26, 28, 27, 24, 23, 52, 45, 874, 56];\r\nlet value = array[Math.round(Math.random()*26)];\r\nlet index = array.indexOf(value);\r\nif(index !== -1)\r\n\tarray.splice(index, 1);","IsDeferred":false},{"Name":"filter","Code":"let array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 24, 26, 28, 27, 24, 23, 52, 45, 874, 56];\r\nlet val = array[Math.round(Math.random()*26)];\r\narray = array.filter(value =\u003E value !== val)","IsDeferred":false}]}