Computer Science, asked by adityaupraity501, 7 months ago

Which of the following is not a valid Java script Variable name?
(a) 2 names
(b) First And Last​

Answers

Answered by sonumodi3102
4

Answer:

your answer is (a) 2 names

Answered by qwcricket10
0

Q)      Which of the following is not a valid Java script Variable name?

      a) 2 names.

      b)  _first_and_last_names.

      c) FirstAndLast.

      d) None of the above.

Option (a) 2names is not a valid Java script variable name.

  • To create attractive web content a scripting language is used, that is JavaScript.
  • The name given to the storage location used in the Javascript language is the Javascript variable.
  • To give a name for a variable in Javascript there are certain criteria to follow.
  • The first letter must begin with an underscore or an alphabet or a dollar sign.
  • Here in the first option, it begins with a number.
  • So the "2 names " is not a name of a variable in Javascript.
Similar questions