What will be displayed after this program is coded and run?
```
1. var shirt = "blue";
2. var pants = "gray";
3. var clothes = wearIt(shirt, pants);
4. function wearIt( x, y)
5. {
6. var myOutfit = "Today I will wear a " + pants + ?
" shirt and " + shirt + " pants.";
7. return myOutfit;
8. }
9. document.write(clothes);
```
a. nothing ? invalid function call
b. Today I will wear a blue shirt and gray pants.
c. Today I will wear a gray shirt and blue pants.
d. blue gray
c. Today I will wear a gray shirt and blue pants.
You might also like to view...
Briefly describe both types of cookies.
What will be an ideal response?
Pressing the ____________________ keyboard shortcut keys and pressing RETURN prints the presentation.
Fill in the blank(s) with the appropriate word(s).
When making a presentation to an audience using PowerPoint, you use Notes Page view.
Answer the following statement true (T) or false (F)
You have connected an ADSL Internet connection as shown in the exhibit. The ports at the phone jack are connected to the same single-number POTS line.
At what location should you place the DSL filter?
A. “A” only B. “A” and “B” C. “B” only D. “A” and “C” E. “C” only F. No filters are required