What happens if you try to modify a property marked as readonly?
It throws a runtime error.
It throws a compile-time error.
It logs a warning to the console.
It silently ignores the change.
This question is part of this quiz :
TypeScript Object Oriented Programming Quiz