¿Qué valor se obtiene al ejecutar el siguiente código?
const arr = [1, 2, 3]; const [a, b] = arr; console.log(b);
undefined
2
1
3