All practice tasks

Knowledge Check

Run to completion

Can another ordinary task interrupt JavaScript while the current task is executing?

Answer options

  • A. Yes, a click always preempts it
  • B. Only when a variable is assigned
  • C. No, the current task runs to completion
  • D. Yes, every timer can interrupt it

What this task practices

Run to completion 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, Browser Event Loop. 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.