SyntaxFix
Write A Post
Hire A Developer
Questions
delete obj[1];
Note that this will not change array indices. Any array members you delete will remain as "slots" that contain undefined.
undefined