jscript variable multiline code example
Example 1: javascript variable with multiline text
let multilineText = `This
is
a
multiline
text`;
console.log(multilineText);
Example 2: js multiline string with variables
const htmlString = `${user.name} liked your post about strings`;