I thought everything was alright but he had a problem with his browser?
var myStr = “This is the start.” + “This is the end.”;
He is actually concatenation two strings and assigning it to a variable right?
If yes, when he output it he should get the exact result. I personally follow the same approach when validating email address that contains strings.