JavaScript Skill Test
"Ninety seconds a question: can you predict what the engine actually does?"
This test covers the territory the LinkedIn JavaScript assessment actually patrols:
typeof quirks, == coercion, truthiness, closures and the temporal dead
zone, this in all its moods, the big array methods, promises and event-loop
ordering, classes and the prototype chain, DOM events, and the modern ES2023-era additions —
mostly as predict-the-output code, because that's the format. Two modes: practice
mode drills one topic at a time with an explanation after every answer;
exam mode deals 20 random questions against the clock and scores you at the
end. Honest framing: the real assessment is adaptive and percentile-graded — a badge means top
30% of test-takers — so treat this bank as calibrated sparring rather than the fight itself.
The strategy that works: practice by topic until every topic reads "solid", then take exam mode
cold. Every code answer below was executed on node 22 before it was written down; Chapter E11
is the prep text, and its §10 gotchas are heavily represented on purpose.