0 / 60 seg.

¿Qué hace el siguiente código?

const myArray = [1, 2, 3, 4, 5];
const evenNumbers = myArray.filter(x => x % 2 === 0);