function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = "";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("cat", "little", "hit", "slowly");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36.
If you read the challenge is about concatenation, meaning adding to an already existing string more text that is in another variable for example
var aVariableWithMoreText = "that is finished by this variable."
var myFancyString = "This is my sentence " + aVariableWithMoreText
console.log(myFancyString) // Should output "This is my sentence that is finished by this variable."
So what you have to do is to change the variable result from an empty string to a concatenation of all of the parameters separated by an empty space like so: var result = myNoun + " space or random text here " + myAdjective + " " + .... (… is here so you replace the remaining 2 parameters )
You are advised in the challenge to play around with concatenating strings and variables on whichever order so you understand the concept better.