0 / 60 seg.

¿Qué hace el siguiente código?

const array = [1, 2, 3];
const newArray = [];
array.forEach((element) => newArray.push(element * 2));