Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 297 Bytes

File metadata and controls

10 lines (5 loc) · 297 Bytes

You are given an array:

var fruits = ['Apple', 'Banana', 'Orange'];

a) Find the index of ‘Banana’ and replace ‘Banana’ with ‘Mango’. b) Remove ‘Orange’ and add ‘Watermelon’.

View problem source 📤