{"ScriptPreparationCode":null,"TestCases":[{"Name":"Splice (first item)","Code":"const a = [{id: \u0022a\u0022}, {id: \u0022b\u0022}, {id: \u0022c\u0022}, {id: \u0022d\u0022}, {id: \u0022e\u0022}, {id: \u0022f\u0022},{id: \u0022g\u0022},{id: \u0022h\u0022},{id: \u0022i\u0022},{id: \u0022j\u0022},{id: \u0022k\u0022},{id: \u0022l\u0022}];\r\nconst indexToRemove = a.findIndex(i =\u003E i === \u0022a\u0022);\r\nconst b = a.splice(indexToRemove, 1); ","IsDeferred":false},{"Name":"Splice (last item)","Code":"const a = [{id: \u0022a\u0022}, {id: \u0022b\u0022}, {id: \u0022c\u0022}, {id: \u0022d\u0022}, {id: \u0022e\u0022}, {id: \u0022f\u0022},{id: \u0022g\u0022},{id: \u0022h\u0022},{id: \u0022i\u0022},{id: \u0022j\u0022},{id: \u0022k\u0022},{id: \u0022l\u0022}];\r\nconst indexToRemove = a.findIndex(i =\u003E i === \u0022l\u0022);\r\nconst b = a.splice(indexToRemove, 1); ","IsDeferred":false},{"Name":"Filter (first item)","Code":"const a = [{id: \u0022a\u0022}, {id: \u0022b\u0022}, {id: \u0022c\u0022}, {id: \u0022d\u0022}, {id: \u0022e\u0022}, {id: \u0022f\u0022},{id: \u0022g\u0022},{id: \u0022h\u0022},{id: \u0022i\u0022},{id: \u0022j\u0022},{id: \u0022k\u0022},{id: \u0022l\u0022}];\r\nconst b = a.filter(item =\u003E item.id !== \u0022a\u0022)","IsDeferred":false},{"Name":"Filter (last item)","Code":"const a = [{id: \u0022a\u0022}, {id: \u0022b\u0022}, {id: \u0022c\u0022}, {id: \u0022d\u0022}, {id: \u0022e\u0022}, {id: \u0022f\u0022},{id: \u0022g\u0022},{id: \u0022h\u0022},{id: \u0022i\u0022},{id: \u0022j\u0022},{id: \u0022k\u0022},{id: \u0022l\u0022}];\r\nconst b = a.filter(item =\u003E item.id !== \u0022l\u0022)","IsDeferred":false},{"Name":"Remove object key (first)","Code":"const a = {\r\na: {key: true},\r\nb: {key: true},\r\nc: {key: true},\r\nd: {key: true},\r\ne: {key: true},\r\nf: {key: true},\r\ng: {key: true},\r\nh: {key: true},\r\ni: {key: true},\r\nj: {key: true},\r\nk: {key: true},\r\nl: {key: true}\r\n}\r\na.a = undefined","IsDeferred":false},{"Name":"Remove object key (last)","Code":"const a = {\r\na: {key: true},\r\nb: {key: true},\r\nc: {key: true},\r\nd: {key: true},\r\ne: {key: true},\r\nf: {key: true},\r\ng: {key: true},\r\nh: {key: true},\r\ni: {key: true},\r\nj: {key: true},\r\nk: {key: true},\r\nl: {key: true}\r\n}\r\na.l = undefined","IsDeferred":false}]}