0 / 60 seg.

¿Qué hace el siguiente código?

const myArray = [1, 2, 3, 4, 5];
const newArray = myArray.map(x => x * 2);