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