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...
The ________ of recursion is the number of times a recursive function calls itself.
A) level B) breadth C) type D) depth E) None of the above
Elly wants the image to use up the full document window from top to bottom. Which option from the Zoom Tool options bar should she use?
Elly is new to Photoshop, and she is having trouble fine-tuning an image. You suggest that she uses Photoshop’s Zoom Tool to change the magnification of the image. a. Fit Screen b. Fill Screen c. Actual Pixels d. Print Size