nerdexam
Microsoft

98-382 · Question #19

You are creating a JavaScript program for an accounting system. You create the following code. Line numbers are included for reference only. ``javascript 01 var firstName = "Jo"; 02 var lastName =…

The correct answer is C. 03. See the full explanation below for the reasoning.

Question

You are creating a JavaScript program for an accounting system. You create the following code. Line numbers are included for reference only.
01 var firstName = "Jo";
02 var lastName = "Berry";
03 var while = Date.now();
04 var color = "Red";
05 var Break = "No";
You evaluate the code to ensure that it follows JavaScript best practices. Which line should you change?

Options

  • A01
  • B02
  • C03
  • D04
  • E05

How the community answered

(38 responses)
  • A
    5% (2)
  • B
    13% (5)
  • C
    76% (29)
  • D
    3% (1)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 98-382 Practice