Multiline String Literal in Javascript
Template literals are strings delimited by backticks, instead of the normal single/double quote delimiter.
They have a unique feature: they allow multiline strings:
const multilineString = `A string
on multiple lines`
const anotherMultilineString = `Hey
this is cool
a multiline
st
r
i
n
g
!
`
template literals multiline js
let text = `This is a multiline
string that
just works!`