Instruction: Describe what ReadonlyArray is and provide a scenario where it might be useful.
Context: This question assesses the candidate's knowledge of immutable data structures in TypeScript, specifically the ReadonlyArray.
medium
medium
medium
medium
hard