Undefined property


I am just doing the lesson Word Blanks and I got stuck on undefined property. Can you see what I am doing wrong?

Thank you for help. :slight_smile:

My code is:

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = β€œβ€;
// Your code below this line
result = "I am " + wordBlanks[myNoun] + " I am "+ wordBlanks[myAdjective] + " I can " + wordBlanks[myVerb] + " very " + wordBlanks[myAdverb];

// Your code above this line
return result;

// Change the words here to test your function
wordBlanks(β€œdog”, β€œbig”, β€œran”, β€œquickly”);

Inside the wordBlanks function remove the wordBlanks[ and ]. You refer to parameters by themselves, so it should be "I am " + myNoun + " I am" ...

1 Like

thank you. you are the best :triumph: