How many keywords are there in JavaScript to declare variables or constants?

20. How many keywords are there in JavaScript to declare variables or constants?

  1. 1
  2. 2
  3. 3
  4. 4

Answer: C) 3

Explanation:

There are 3 ways / keywords to declare variables or constants, those are:

  • var
  • let
  • const

Comments and Discussions!

Load comments ↻






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