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