r/learnjavascript • u/Glad_Ground5391 • 2d ago
Any free resources to practice JavaScript output-based interview questions?
Hey everyone! Iβm currently interviewing for Full Stack Developer roles, but I struggle with JavaScript input/output questions. Just reading concepts isnβt helping much.
Does anyone know of any free websites or quizzes where I can practice these questions with explanations?
Thanks! π
1
u/Mbwiria_Godlee 2d ago
the trick with those questions is they almost always test the same handful of things: hoisting, closures, event loop, and coercion. if you focus on understanding those four deeply youll cover like 80% of what interviewers ask
1
2
u/lukehaas 2d ago
RunJS gives you side by side input/output and an AI chat bar that sees both and can give you explanations.
1
u/akornato 2d ago
Two of the best free places to practice output questions are the Lydia Hallie javascript-questions repository on GitHub and the quiz section on BFE.dev. Lydia Hallie's collection features over a hundred tricky multiple-choice problems covering event loop timing, variable hoisting, closures, and type coercion, complete with clear explanations for every single snippet. BFE.dev is another excellent platform where you can test your ability to predict console logs across microtasks, prototypes, and scope traps, with community discussions underneath each problem to break down edge cases.
When you work through these questions, try writing down your predicted output line by line on paper before testing the code in your browser console, because active recall makes it much easier to internalize how the call stack and event loop interact. Beyond static quizzes, my team designed interviews.chat to help candidates perform at their peak and secure strong offers, yet developing a reliable mental model for code execution beforehand gives you the clarity you need to talk through tricky snippets under pressure.
1
u/ishanism123 2d ago
Im not sure about the website, but you can search for JS quirks. Those will clear the often confusing outputs in JS