I have a scenario where I am working with the following code snippet.
var myStr = "This is the first sentence. ";
myStr += "This is the second sentence. ";
The desired output would be:
This is the first sentence. This is the second sentence.
However, when I execute the code using console.log, the result includes extra quotes like this:
"This is the first sentence. This is the second sentence."
I am trying to figure out how to remove the unnecessary quotes without impacting the quotes used for strings in the code.