I have an object 'myObjects':
let myObjects = {
"obj1":["X1","1.2"],
"obj2": "2",
"obj3": "3"
};
I am trying to only remove the X1 from the obj1 section. I have tried doing:
delete obj1[0];
however end up with
[null,"1.2"]
how do I get rid of the null?