const arr = [7, 8, 5, 9]; delete arr[3]; console.log(arr); //[7, 8, 5, empty] delete operator removes only an element; Not the space allocated to it.