React

ReactJS Practical Questions - array destructuring ...

10.

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

const [, , person] = ['John', 'Simon', 'Emma'];
console.log(person);

Emma

[John, Simon]

Simon

John