This example shows how TypeScript numeric enums work. We define an enum Direction with Up assigned 1 explicitly. The next members Down, Left, and Right get values 2, 3, and 4 automatically because they follow Up. We print all values to see the numbers. Numeric enums let us use names instead of numbers, making code easier to read. Unassigned members get the previous member's value plus one. This is shown step-by-step in the execution table and variable tracker. Understanding this helps avoid confusion about enum values.