

What does this program print?
Trace the program the way the computer would, then make your call before running anything.
const sizes = { s: 1, m: 2, l: 3 };
type Size = keyof typeof sizes;
const pick: Size = "m";
console.log(pick, sizes[pick]);

Trace the program the way the computer would, then make your call before running anything.
const sizes = { s: 1, m: 2, l: 3 };
type Size = keyof typeof sizes;
const pick: Size = "m";
console.log(pick, sizes[pick]);