Instead of writing console.log('One' + ', ' + 'two' + ', ' + 'three!'); we can write console.log('one , two , three!')

instead of writing console.log(‘One’ + ', ’ + ‘two’ + ', ’ + ‘three!’); we can write console.log(‘one , two , three!’)

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

Although you are right, you need to understand these two approaches are not the same. The first example concatenates the string while the second example simply prints multiple arguments

2 Likes