The readonly
decorator is used to prevent a fields from accidently being reinitialized
When used on a reference type field we can add new values into the object but the object cannot be reinitialized
The readonly
decorator is used to prevent a fields from accidently being reinitialized
When used on a reference type field we can add new values into the object but the object cannot be reinitialized