Word Blanks How to create it, wordBlanks("dog", "big", "ran", "quickly") should contain all of the passed in words separated by non-word characters

Word Blanks How to create it, wordBlanks("dog", "big", "ran", "quickly") should contain all of the passed in words separated by non-word characters
0

Tell us what’s happening:

Your code so far


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("dog", "big", "ran", "quickly");
var sentence="This"+"cat"+",she is"+"very"+"little"+"and I can't"+"hit"+"her"+"because she walks"+"slowly.";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/word-blanks/

You need to follow instructions as first thing… see the comments on where you need to write.

After that, your phrase is missing all spaces, and you should use the variables provived in the function to solve: