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