Home »
MCQs »
JavaScript MCQs
Which JavaScript keyword is used to declare a variable?
19. Which JavaScript keyword is used to declare a variable?
- Var
- var
- Let
- All of the above
Answer: B) var
Explanation:
The var keyword defines a variable in JavaScript.