Skip to content
Readonly & const assertions

Readonly config

Create a config object that cannot be mutated after creation; demonstrate that attempts to modify it fail at compile time.

Solution

Loading...
Run your code to see output and diagnostics.

Built by Antigravity. The source code is available on GitHub.