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)- A71% (25)
- B17% (6)
- C6% (2)
- D6% (2)
Community Discussion
No community discussion yet for this question.