Assigning to an array index replaces the value at that position.
const colors = ["red", "blue"]; colors[1] = "green";
Replace Tuesday with Wednesday and display Days: Monday,Wednesday.
Tuesday
Wednesday
Days: Monday,Wednesday