freecodecamp.cn
freecodecamp.cn copied to clipboard
How to pass it,plz help me out
Challenge Word Blanks has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = "";
// Your code below this line
result=myAdjective+myNoun+myVerb+myAdverb+".";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks(" dog", " big", " ran", " quickly ");
wordBlanks(" cat", " little", " hit", " slowly");
You must have space in between your words too. The challenge itself has no issues.
This is not an issue. Please post your questions in gitter. Thanks
passed:
result = myAdjective+' '+myNoun+' '+myVerb+' '+myAdverb+"."; 注意:两个''中间有空格