One way is to use Slice but is it compatible with nested objects or is it just for arrays., If so how would I slice a nested object ? i.e my state is
Object = {
a:{ 1: '1', 2: '2', 3: '3' },
b:{ 1: '1', 2: '2', 3: '3' },
c:{ 1: '1', 2: '2', 3: '3' }
}
and I want to remove b from Object.