Tell us what’s happening:
What am I doing wrong?
myStr over several lines by concatenating these two strings:
"This is the first sentence. " and
"This is the second sentence." using the
+= operator. Use the
+= operator similar to how it is shown in the editor. Start by assigning the first string to
myStr , then add on the second string.
Your code so far
var myStr = “This is the first sentence”;
myStr += “This is the second sentence.”
// Example var ourStr = "I come first. "; ourStr += "I come second."; // Only change code below this line var myStr = "This is the first sentence"; myStr += "This is the second sentence."
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.2988.0 Safari/537.36.