JS Quiz

What's the Output?

Can you predict what JavaScript will actually output? This quiz covers closures, hoisting, type coercion, the this keyword, event loop behavior, prototypes, and other common JS interview traps. Each question shows a code snippet — your job is to figure out what gets logged.

20 questions~15 minutesIntermediate