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.
|
Edit This Code:
Result:
|
Correct Code:
Correct Result:
|