Exam Type

Practice Set

Practice questions aggregated across this exam type.

Practice Questions

10 of 96 questions

Jump to concepts →

easy

Q1. Which keyword declares a block-scoped variable that cannot be reassigned?


Select one answer before revealing.

easy

Q2. What does `typeof null` return in JavaScript?


Select one answer before revealing.

easy

Q3. Which of the following are primitive data types in JavaScript? (More than one answer may be correct.)


Select one answer before revealing.

easy

Q4. What is the output of the following code? ```js console.log(0.1 + 0.2 === 0.3); ```


Select one answer before revealing.

easy

Q5. What is the difference between `==` and `===` in JavaScript?


Select one answer before revealing.

medium

Q6. What does the nullish coalescing operator (`??`) return?


Select one answer before revealing.

easy

Q7. What is the output of the following code? ```js let x = 5; console.log(x > 3 ? "big" : "small"); ```


Select one answer before revealing.

medium

Q8. Which of the following values are falsy in JavaScript? (More than one answer may be correct.)


Select one answer before revealing.

easy

Q9. What does `console.log(typeof undefined)` output?


Select one answer before revealing.

easy

Q10. What is the result of `"5" - 2` in JavaScript?


Select one answer before revealing.

1/10

Important Concepts

Study chapter-wise concepts before you practice.

View all