¿Qué valor se obtiene al ejecutar el siguiente código?
const arr = [1, 2, 3, 4];
const found = arr.find(x => x > 2);
console.log(found);
¿Qué valor se obtiene al ejecutar el siguiente código?
const arr = [1, 2, 3, 4];
const found = arr.find(x => x > 2);
console.log(found);