📅  最后修改于: 2022-03-11 14:47:32.080000             🧑  作者: Mango
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.