JavaScript Fundamentals Quiz
JavaScript is the only programming language that runs natively in web browsers, making it essential for anyone working on the web. This quiz tests the fundamental concepts that every JavaScript developer encounters on a daily basis.
Questions cover variable declaration with var/let/const, comparison operators, function syntax, array methods, and the JavaScript type system — including its famous quirks like type coercion and the difference between == and ===.
From the console to the DOM, this quiz tests the JS fundamentals that form the foundation of modern web development.
Start quiz →
Opens in a new tab on Cletica
Sample questions3 of 9 shown
Q1
What is the difference between let and const in JavaScript?
Q2
What does '2' + 2 evaluate to in JavaScript?
Q3
Which array method creates a new array with only the elements that pass a test?
What This Quiz Covers
- Variable declaration: var, let, and const differences
- Strict equality (===) vs. loose equality (==) and type coercion
- Functions: declarations, expressions, and arrow functions
- Array methods: .push(), .pop(), .map(), .filter(), .forEach()
- JavaScript types: undefined, null, boolean, number, string, object
- The event loop and asynchronous JavaScript basics
- DOM manipulation: getElementById, querySelector, addEventListener
Cletica
Want to create your own quiz?
Build surveys and quizzes, share with anyone, collect responses — free to start.
Try Cletica for free →