Open In App

Web technologies Questions | JavaScript Course Quiz 1 | Question 7

Which of the following variable names are correct according to javascript? (Multiple Choices may be correct)
(A) let 1name;
(B) let #name;
(C) let _name;
(D) let $_name;

Answer: (C) (D)
Explanation: Both the options C and D are correct. We can start the name of the variable with $ sign and an _(underscore).
Quiz of this Question

Article Tags :