QuizIntermediate

Readonly Properties

Understand how readonly prevents reassignment of interface properties.

Given `interface Point { readonly x: number; }`, what happens if you write `p.x = 5` after initialization?