Try Removing “;” from the variable name: myStr
The exercise also asks to add a space between the two sentences. Add that at the end of the first one or the beginning of the second one.
Answer:
let myStr;
myStr = "This is the first sentence."
myStr += " This is the second sentence."
console.log(myStr)
Unfortunately that isn’t working either… this is what comes up when I put in your answer
myStr
should have a single space character between the two strings.
myStr
should have a value of the string
This is the first sentence. This is the second sentence.
// tests completed