How to Create JavaScript Multiline String Literals (Template Literals)

Outstanding suggestion! Thanks for sharing.

REF: Template literals - JavaScript | MDN

The linked article did NOT provide a good example, so here is the one I built for myself:

###Using JavaScript Template Literals

var str1 = "This is string 1";
var str2 = "and this is string 2";

var strLit = 
  `some text at the beginning
  and then first string ${str1}
  and then second string ${str2}
  and the end`
  
console.log(strLit)

//### RESULTS ###
/* some text at the beginning
  and then first string This is string 1
  and then second string and this is string 2
  and the end */
  
// NOTE that the TAB character IS included in the resultant string.