React

ReactJS Practical Questions - What should the cons...

28.

What should the console display when the following code is run?

const [, , animal] = ['Dog', 'Cat', 'Mouse'];
console.log(animal)

Dog

Cat

Mouse

Undefined