loading
main.js
1
2
3
4
5
6
7
let someArray = [0, 1, 2];
let someObj = {a: 0, b: 1, c:3};

delete someArray[1];
delete someObj.b;
console.log(someArray);
console.log(someObj);
Native Browser JavaScript