Exam Type

Practice Set

Practice questions aggregated across this exam type.

Practice Questions

10 of 225 questions

Jump to concepts →

easy

Q1. What is the output?

console.log(typeof NaN);

Select one answer before revealing.

easy

Q2. What is the output?

let x;
console.log(x + 1);

Select one answer before revealing.

easy

Q3. What is the output?

console.log(2 ** 3, 10 % 3);

Select one answer before revealing.

easy

Q4. What is the output?

console.log(!!"", !!"0");

Select one answer before revealing.

easy

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


Select one answer before revealing.

easy

Q6. What does typeof null return in JavaScript?


Select one answer before revealing.

easy

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


Select one answer before revealing.

easy

Q8. What is the output of the following code?

console.log(0.1 + 0.2 === 0.3);

Select one answer before revealing.

easy

Q9. What is the difference between == and === in JavaScript?


Select one answer before revealing.

easy

Q10. What is the output of the following code?

let x = 5;
console.log(x > 3 ? "big" : "small");

Select one answer before revealing.

1/23

Important Concepts

Study chapter-wise concepts before you practice.

View all