Microsoft
98-382 · Question #12
98-382 Question #12: Real Exam Question with Answer & Explanation
Sign in or unlock 98-382 to reveal the answer and full explanation for question #12. The question stem and answer options stay visible for context.
Question
You analyze the following code fragment. Line numbers are included for reference only.
01 "use strict";
02 var val1 = 25;
03 var val2 = 4;
04 function multiply() {
05 return val1 * val2;
06 }
07
08 console.log("Global multiply returns(): " + multiply());
09
10 function getProduct() {
11 var val1 = 2;
12 var val2 = 3;
13
14 function multiply() {
15 return val1 * val2;
16 }
17
18 return multiply();
19 }
20 }
Evaluate the truthfulness of the following statements:Unlock 98-382 to see the answer
You've previewed enough free 98-382 questions. Unlock 98-382 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.