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