Vidyalelo
JavaScript · Q37

Basic And Variables

Programming · JavaScript · question 37

Q37

The “var” and “function” are

A.
Keywords
B.
Declaration statements
Answer
C.
Datatypes
D.
Prototypes

Answer: Option B

Solution

Answer: Option B
Solution:
The var and function are declaration statements—they declare or define variables and functions. These statements define identifiers (variable and function names) that can be used elsewhere in your program and assign values to those identifiers.