Freeze the flat config object with Object.freeze and return it. Tests check Object.isFrozen as well as content. Freezing is shallow: in general, nested objects are not frozen.
Sign in to solve this challenge — an account is free. The demo works without one.
All puzzles are free. An account unlocks the full catalog, saved progress and points.