All practice tasks

Knowledge Check

Shallow freeze

Why can nested state still change after Object.freeze is called on the outer object?

Answer options

  • A. Freeze is shallow
  • B. Freeze affects only arrays
  • C. Nested objects become globals
  • D. Prototype lookup disables freeze

What this task practices

Shallow freeze is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Frontend Javascript, Js Objects Prototypes. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.