Exercise:

Use the splice() method to remove "Orange" and "Apple" from fruits.

Hint: The splice() method takes 2 parameters: the index position to start at, and the number of elements to remove.
Remember that array indexes start with 0.

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com