Bien, he buscado por todas partes. No puedo entender por qué mi array.push me da [] y no (#) {...}, {...}, {...}, etc. Aquí está mi código relevante:
let newArray = []; const fetchAll = async (urls) => { const res = await Promise.all(urls.map(u => fetch(u))) const jsons = await Promise.all(res.map(r => r.json())) for (let i = 0; i < jsons.length; i++) { for (let j = 0; j < 2; j++) { newArray.push({ 'img': jsons[i].hits[j].previewURL }); } } }Como dije, específicamente quiero que la matriz genere como (#) {...}, {...}, {...} etc. En este momento solo obtengo []. Con la matriz.
Como referencia: quiero que mi conjunto se vea como el archivo console.log inferior. La parte superior es lo que estoy recibiendo. 