array.splice(indexToStartFrom, numbersOfItemsToBeDeleted); // for deleting only one element array.splice(index, 1); //index = index of element in an array;