I have a question in regards to this code. At first, I thought the asnwer was going to be Hello there! with a space in between. However, the answer is Hellothere!
Why is that the correct answer?
How can we avoid string answers that are written altogether instead of in a space as shown?
Please feel free to use a clear, detailed example and explanation and thank you in advance.
let str1 = 'Hello';
let str2 = 'there!';
console.log(str1 + str2);
Course: Introduction to JavaScript: First Steps - Free Interactive Course
Lesson: Using Operators with Different Types - Introduction to JavaScript: First Steps