function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = "dog" + "big" + "ran" +"quickly";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15.
The function wordBlanks contains the expressions that will be executed: myNoun, myAdjective, myVerb, and myAdverb. At the bottom of the coding example, the function wordBlanks is being called, or invoked, using the following words: “dog”, “big”, “ran”, and “quickly”. What you need to do for this exercise is concatenate the expressions to create a sentence with the strings being called. For example:
"My " + myNoun + " is a really " + myAdjective + …
The above example would output “My dog is a really big” … Hopefully you can finish it from there.