let fruits = ["apple", "banana", "orange", "blueberry", "strawberry","watermelon","kiwi","pineapple"]; fruits.splice(2, 1); // Delete 1 element starting at index 2 (i.e. orange) fruits.splice(2, 0, "orange"); // Delete zero elements, and insert orange at index 2 fruits.splice(2); // Remove everything starting at index 2 fruits.splice(2, 0, "grape", "coconut"); // Add two new elements