Home | Mailing List | Blog | Tutorial Videos

Array Method

What will the value of citrus be in the below code?

var fruits = ['Banana', 'Orange', 'Lemon', 'Apple', 'Mango'];
var citrus = fruits.slice(1, 3);

Select one: