javascript write string in multiple lines code example
Example 1: javascript multiline string
const multilineString = `This
is
a
multiline
string
in
javascript`;
Example 2: javascript variable with multiline text
let multilineText = `This
is
a
multiline
text`;
console.log(multilineText);