How I can print this in JS to use concatenation

`I'm In
\\
Love \\ """ '''
++ With ++
\"""\"""
""JavaScript""``

thanks for help:)

Please be more accurate. What challenge does your post refer to?
Where is the link to the challenge?

If you mean just to concatenate words to get the desired sentence try the following:

var a = "I'm " + "In Love " + "With " + "JavaScript!" 
console.log(a);
3 Likes

You can also use template literals. Not sure if you are trying to include (escape) quotations "" in the string?

const str = `I'm in "Love" with [object Object]...err I mean "JavaScript".`
console.log(str) // I'm in "Love" with [object Object]...err I mean "JavaScript".
2 Likes

the quotations is the problem thanks for your help

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