

What does this program print?
Trace the program the way the computer would, then make your call before running anything.
const point = { x: 1, y: 2 } as const;
const copy = { ...point, x: 5 };
console.log(copy.x, point.x);

Trace the program the way the computer would, then make your call before running anything.
const point = { x: 1, y: 2 } as const;
const copy = { ...point, x: 5 };
console.log(copy.x, point.x);