const data = [{ a: 1, b: 2 }, { b: 4, c: 5 }]; const data2 = {ASD:10}; for (let i = 0; i < data.length; i++) { data[i] = Object.assign(data[i], data2); } console.log(data);