What will be output in console:

var animals = ['Tiger', 'Lion', 'Camel', 'Cow', 'Duck'];
console.log(animals.slice(2, 4));
  • Array ["Camel", "Cow"]