0 / 60 seg.

¿Qué valor se obtiene al ejecutar el siguiente código?

const arr = [1, 2, 3];
const popped = arr.pop();
const shifted = arr.shift();
console.log(popped + shifted);