All practice tasks

Knowledge Check

Key union

What does keyof produce for an object type with id and name properties?

Answer options

  • A. The union "id" | "name"
  • B. The union number | string
  • C. An array of runtime keys
  • D. The values of both properties

What this task practices

Key union 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 medium difficulty. It focuses on Frontend Language Browser, Ts Generics Modules. 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.