← All tracks

JavaScript

JavaScript is a single-threaded, dynamically typed language with first-class functions, prototype-based objects and an event loop that decides when your asynchronous code actually runs. Almost everything that surprises people in an interview comes from one of those four facts.

Interviewers rarely ask you to build something here. They ask what a snippet prints, why `typeof null` is `"object"`, what a closure captures, or in which order a `setTimeout` and a resolved promise run. The answers are mechanical once you know the model — and guesswork until then.

Each question below gives you four options, tells you why the right one is right, and links to the reference so you can read further. No timer: the goal is to understand the mechanism, not to answer fast.

Study guide50 lecturesRead the subject before you are quizzed on it. Each lecture explains the mechanism, shows the code, and ends with questions from the same bank the quizzes draw from.Open the guide →

Choose a level

Basic

Types, coercion, operators and the array and object basics that every screening call starts with.

  • primitives
  • typeof
  • var / let / const
  • truthy & falsy
  • == vs ===
  • control flow
  • +3 more

60 questionsChoose length →

Intermediate

Hoisting, closures, this, array transforms and modules — where most interviews actually spend their time.

  • hoisting
  • TDZ
  • closures
  • this
  • call / apply / bind
  • map / filter / reduce
  • +5 more

82 questionsChoose length →

Advanced

The event loop, promise combinators, prototypes and proxies — the questions senior interviews end on.

  • event loop
  • call stack
  • promises
  • async / await
  • prototypes
  • inheritance
  • +4 more

72 questionsChoose length →