TypeScript Associate — Easy
Key points
- `readonly` restricts property assignment after initialization
- Helps maintain immutability in code
- Different from preventing property access or making it optional
Ready to go further?
Related questions
TypeScript Associate — Easy
Key points
Ready to go further?
Related questions