← Code LabTypeScript0/50 solved · 0%
Objects · easy

7. Readonly Properties

Prevent modification of properties.

Define a `Config` interface where `apiKey` is readonly. Write `checkKey(c)` that returns the key.
Required in your answer: readonly apiKey