Microsoft
98-375 · Question #54
Which three are valid JavaScript variables? (Choose three.)
The correct answer is A. xyz1 C. int1 D. _int. Variable names must begin with a letter or special variable with either $ or _ Variable names are case sensitive (y and Y are different variables)
Understanding Game Programming
Question
Which three are valid JavaScript variables? (Choose three.)
Options
- Axyz1
- B.Int
- Cint1
- D_int
- E1xyz
How the community answered
(47 responses)- A81% (38)
- B6% (3)
- E13% (6)
Explanation
Variable names must begin with a letter or special variable with either $ or _ Variable names are case sensitive (y and Y are different variables)
Topics
#JavaScript#variable naming#identifier rules#syntax
Community Discussion
No community discussion yet for this question.