About this quiz
Test your knowledge of JavaScript fundamentals with this comprehensive quiz covering variables, data types, functions, closures, and the event loop. Whether you are a beginner looking to validate your learning or an experienced developer brushing up on the basics, this quiz will challenge your understanding of the core concepts that power modern web development. JavaScript is the language of the web, and mastering its fundamentals is essential for any developer.
Before you start
Beginners, refreshers, and builders checking practical technology fundamentals.
Recognize Let and explain the reasoning behind it.
10 explanation-backed questions in about 14 minutes.
A small map of the test
- 1Which keyword declares a block-scoped variable in modern JavaScript?
- 2What does the '===' operator check in JavaScript?
- 3What is a closure in JavaScript?
- 4Which method converts a JSON string into a JavaScript object?
- 5What is the output of 'typeof null' in JavaScript?
- 6What happens if you try to reassign a variable declared with 'const'?
Who this quiz is for
- Beginners, refreshers, and builders checking practical technology fundamentals.
- Best for medium practice when you want explanations after every answer.
What you should understand afterward
- Recognize Let and explain the reasoning behind it.
- Connect === with the broader technology topic.
- Use the answer explanations to identify weak spots before retaking the quiz.
Ideas this quiz checks
Let
The 'let' keyword, introduced in ES6, declares a block-scoped variable.
===
The strict equality operator '===' checks both value and type without performing type coercion.
Closure in JavaScript
A closure is a function that remembers and can access variables from its lexical scope even when the function is executed outside that scope.
JSON.parse()
JSON.parse() takes a JSON-formatted string and converts it into a JavaScript object or value.
Typeof null
typeof null returns 'object', which is a well-known quirk and historical bug in JavaScript.
Const
A variable declared with 'const' cannot be reassigned to a new value — attempting it throws a TypeError.
How to read your score
-
80–100%
Strong command
You understand most of the core ideas and can use the explanations to polish smaller gaps.
-
50–79%
Solid base
You know part of the topic, but the missed explanations are the highest-value review material.
-
0–49%
Review first
Treat this as a starting map: revisit the key concepts, then retake the quiz for a cleaner signal.
Recommended next steps
- Read the explanation for every missed question before starting another quiz.
- Review Let, then retake the quiz to check retention.
- Use the related technology quizzes and articles to reinforce the same topic from another angle.
Instructions
- You have 14 minutes total to answer 10 multiple-choice questions.
- Choose an answer to lock it in. The runner immediately shows the correct answer and explanation.
- Use Hint when you want a nudge, or Skip to move forward without answering.
- Keyboard shortcuts: A-D answer, H hints, S skips, Enter/→ next, and ← previous.
- No signup required. Your progress is local to this quiz session.