What value is printed when executing the following code?
const numbers = [1, 2, 3];
const squares = numbers.map(x => x * x);
console.log(squares[2]);
What value is printed when executing the following code?
const numbers = [1, 2, 3];
const squares = numbers.map(x => x * x);
console.log(squares[2]);