What is the display after the function math() executes?
source file: mySource.js:
```
1. function product(x.y);
2. {
3. var x; var y; var product;
4. product = x * y;
5. return (product);
6. }
```
web page script, assume the file links to mySource.js:
```
1. function math();
2. {
3. var num1 = 3; var num2 = 4;
4. var result = product(num2, num1);
5. document.write(num2 + " X " + num1 + " = " + result);
6. }
7. function product(a.b);
8. {
9. var a; var b; var answer;
10. answer = a * b * b;
11. }
```
a. 4 X 3 = 12
b. 4 X 3 = 36
c. 3 X 4 = 12
d. 3 X 4 = 36
b. 4 X 3 = 36
You might also like to view...
A short prose version of a film is called a(n) ____.
A. take B. treatment C. summary D. variation
The PA12 Ensure Quality process exists under what high-level practice area?
A. Security Base Practices B. Project and Organizational Base Practices C. Security Controlled Engineering Practices D. Project and Security Base Practices
Two digital cellular standards used in the United States are
a. AMPS and CDMA b. CDMA and TDMA c. ETACS and AMPS d. ETACS and GSM
In a two-level memory hierarchy, when the computer needs a piece of information, it looks in cache memory first, then RAM.
Answer the following statement true (T) or false (F)