nerdexam
Microsoft

98-375 · Question #68

You need to ensure the scope of a variable named j is limited to the block of a single function named foo(). Which JavaScript code fragment will accomplish this?

The correct answer is A. Option A. See the full explanation below for the reasoning.

Question

You need to ensure the scope of a variable named j is limited to the block of a single function named foo(). Which JavaScript code fragment will accomplish this?

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(35 responses)
  • A
    71% (25)
  • B
    17% (6)
  • C
    6% (2)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 98-375 Practice