0
JavaScript code project, what am i doing wrong??
4 Answers
+ 4
You should not use $ as your separation character in your template string. Its a reserved "control sign" to insert a variable. You could escape it with a \ but it would be better to pick another char like !
+ 3
// Try it Oo"
print() {
let combinedWords = this.words.join("quot;);
console.log(`${combinedWords}
);
}
+ 3
Delete line 10 ~ 12. Line 11 in particular puts in an unnecessary additional '#x27; character.