Question: Concatenating Strings with Plus Operator

Question: Concatenating Strings with Plus Operator
0.0 0

#1

My code:
// Example
var ourStr = "I come first. " + “I come second.”;

// Only change code below this line

var myStr= "This is the start. " + “This is the end.”;

I got it correct but I’m just wondering, why is there a space between the period(.) & the first ending quotation mark(") for this to be correct?

Visual: var myStr= “This is the start.(why does the space here exist for this code to be correct?)” + “This is the end.”;


#2

It there was no space it would look like this: "This is the start.This is the end."

You want a space after a period to start a new sentence.


#3

why its not working ?