question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not pass the: myStr should have a value of This is the first sentence. This is the second sentence.

See original GitHub issue

Challenge Concatenating Strings with the Plus Equals Operator has an issue. User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

// 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';



Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AkiraLainecommented, Mar 11, 2016

Closing this as it seems to be solved.

1reaction
ghostcommented, Mar 10, 2016

thanks

On Thu, Mar 10, 2016 at 5:35 PM, drk7891 notifications@github.com wrote:

Seems like you’re missing a period at the end of the second sentence. 😃

— Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7492#issuecomment-195097556 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

myStr should have a value of This is the first sentence ... - GitHub
Does not pass the: myStr should have a value of This is the first sentence. This is the second sentence. #7492.
Read more >
myStr should have a value of This is the first sentence. This is ...
myStr should have a value of This is the first sentence. This is the second sentence ... // Only change code below this...
Read more >
Need help concatenating .JS - javascript - Stack Overflow
myStr should have a value of This is the first sentence. This is the second sentence. Use the += operator to build myStr...
Read more >
Concatenating Strings with the Plus Equals Operator
Build myStr over several lines by concatenating these two strings: "This is the first sentence. " and "This is the second sentence.
Read more >
Split and Join - Python 3 Notes
Splitting a Sentence into Words: .split(). Below, mary is a single string. Even though it is a sentence, the words are not represented...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found