The interview process consisted of three rounds in total.
Round 1 – JavaScript Fundamentals
The first round focused on core JavaScript concepts. The interviewer asked a plain vanilla JavaScript question that tested understanding of the event loop, callbacks, and asynchronous behavior.
One of the key parts of the question involved using setTimeout with callbacks and reasoning about the order of execution.
Example type of discussion:
How setTimeout works in the event loop
Difference between synchronous vs asynchronous execution
Understanding callback execution order
Predicting console output timing
The interviewer expected a strong explanation of:
How the call stack
Web APIs
Callback queue
and event loop
interact in JavaScript.
Unfortunately, I wasn’t able to fully answer the question to the interviewer’s expectations, so I did not move forward to the remaining rounds.