You can use template literals, introduced in ES6.Template literals are enclosed by backticks (`) and can span multiple lines without the need for concatenation or escape characters.
Example:
const multilineString = `This is a string
that spans multiple
lines.`;
console.log(multilineString);
This will output:
This is a string
that spans multiple
lines.