const array = [1, 2, 3];
const obj = { a: 1, b: 2 };
array.push(obj);
obj.a = 3;
console.log(array[3].a);
Post #1511
6.45K
CHALLENGE
- 👍 8
- 🤔 1