Discrepancy in lesson v. solution

Screen Shot 2022-07-07 at 7.42.22 AM

Lesson uses ‘let’, yet the solution uses ‘var’.

Are these not interchangable? My code was the exact same, but would not ‘solve’ because I had ‘let’ at the beginning. Please clarify!

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Concatenating Strings with the Plus Equals Operator

Link to the challenge:

That was quick, Randell. Thanks!

@camperextraordinaire I just took a look and it says let in both the lesson and the text editor. Just so my brain organizes this info correctly, it is supposed to be let and not var, correct?

Good deal. Thanks for clarifying! :raised_hands:

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