Fastest Way Learning Javascript

Tell us what’s happening:

   **Your code so far**
   What is the fastest way the to learn javascript?

// Only change code below this line

var myStr="This is the  first sentence.";

myStr+="This is the second sentence.";

console.log(myStr);
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36.

Challenge: Concatenating Strings with the Plus Equals Operator

Link to the challenge:

Hey @D.Max ,
check this out :

var myStr = 'This is the first sentence. ';

myStr += ‘This is the second sentence.’;

console.log(myStr);

// a space is needed at the end of the first string after the dot.

okay, thanks but already solved.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.