

What happens if you uncomment the third line?
Trace the program the way the computer would, then make your call before running anything.
interface Star { name: string; magnitude: number; }
const s: Readonly<Star> = { name: 'Vega', magnitude: 0.03 };
// s.magnitude = 0.5;