🧩QuizCluster

Free practice quiz

JavaScript & TypeScript Quiz Questions

A sample of the 10 questions below β€” instant scoring and an explanation for every answer. No sign-in required to play.

Question 1

What keyword declares a block-scoped variable in JavaScript?

Alet
Bvar
Cfunction
Dglobal

Question 2

What does a Promise represent in JavaScript?

AA synchronous function
BThe eventual completion (or failure) of an asynchronous operation
CA CSS style
DA type of loop

Question 3

What does the `===` operator check in JavaScript?

ABoth value and type
BType only
CNeither
DValue only

↓ Scroll down to answer all 10 and see your score.

Preparing your quiz…