const myArray = ['dog', 'cat', 'elephant', 'tiger', 'pigeon'];
delete myArray[3];
console.log(myArray) // ?
What result will we get in the console?
const myArray = ['dog', 'cat', 'elephant', 'tiger', 'pigeon'];
delete myArray[3];
console.log(myArray) // ?
What result will we get in the console?
Create a free account to access the full topic