The Wayback Machine - https://web.archive.org/web/20211026170449/https://www.geeksforgeeks.org/web-technologies-questions-javascript-course-quiz-1-question-7/
Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

Web technologies Questions | JavaScript Course Quiz 1 | Question 7

  • Difficulty Level : Easy
  • Last Updated : 30 Apr, 2019

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :