Which JavaScript keyword is used to declare a variable?

19. Which JavaScript keyword is used to declare a variable?

  1. Var
  2. var
  3. Let
  4. All of the above

Answer: B) var

Explanation:

The var keyword defines a variable in JavaScript.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.