What is the correct way to declare a JavaScript variable?
A. var x = 5;
B. variable x = 5;
C. x = 5;
D. declare x = 5;
Answer:A
What is the correct way to declare a JavaScript variable?
A. var x = 5; B. variable x = 5; C. x = 5; D. declare x = 5;