

What does this program print?
Trace the program the way the computer would, then make your call before running anything.
const star: { name: string; mag?: number } = { name: "Rigel" };
console.log(star.mag ?? "unknown");

Trace the program the way the computer would, then make your call before running anything.
const star: { name: string; mag?: number } = { name: "Rigel" };
console.log(star.mag ?? "unknown");