In JavaScript, strings created with single or double quotes do not allow line wrapping. It means, the following won't work:
let str = 'abc
def'; // that won't work
This also won't work:
let str = "abc
def"; // that won't work
But the backticks are especially designed to create multiline strings:
let str = `abc
def`; // this will work
Write the string, consisting of characters
'a'
, 'b'
, 'c'
, to
the variable str
. There should be
a line wrapping after each character,
except the last one.