nerdexam
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)
  • A
    81% (38)
  • B
    6% (3)
  • E
    13% (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.

Full 98-375 Practice