Instruction: Describe what enums are and provide a scenario where they are particularly useful in TypeScript.
Context: This question assesses the candidate's knowledge of enums in TypeScript and their capability to identify use cases where enums improve code readability and manageability.
easy
easy
easy
medium
hard
hard
hard
hard
hard