Constant vs readonly in typescript
Declaring a variable as readonly will not allow us to override even if they are public properties.
readonly
How const beha
both:
.push()
const:
readonly: