Well done!
You have completed Structure and Implementation Quiz!
Quiz Question 1 of 5
Suppose you have the following array:
const fruits = ["apple", "banana", "mango", "cherry"];
You want to remove "banana" from the array and then add "orange" at the same position. Which of the following is the correct sequence of operations?
Choose the correct answer below: