Dashboard

Mixed practice

Choose a question track. Theory builds the concepts; debugging applies them to code and real problems.

Code-focused scenarios that ask you to diagnose behavior and choose a practical fix.

Mixed practice· Debugging & Problem Solving· JavaScriptSenior
Question 1 of 24
Scenario
A teammate is debugging why a loading flag flickers. You narrow it down to this ordering question.
Code
js
console.log("A");
setTimeout(() => console.log("B"), 0);
Promise.resolve().then(() => console.log("C"));
console.log("D");

What is logged to the console, in order?

Help us improve CodingReady

Allow anonymous analytics to help us understand practice usage. You can reject analytics and continue using the site.