Loading problem…
Predict the output.
const arr = Array(2).fill({ x: 0 }) arr[0].x = 9 console.log(arr[1].x)