26.
Which of the following statements about template literals in ES6 is not true?
Template literals support escaping characters using backslashes.
Template literals cannot contain multi-line strings.
Template literals allow for string interpolation using ${expression} syntax.
Template literals are enclosed in backticks
Correct: B
Template literals in ES6 provide a convenient way to construct strings. They are enclosed in backticks () instead of single or double quotes. Template literals allow for string interpolation using the ${expression} syntax, where the expression within the curly braces is evaluated and inserted into the string. Additionally, template literals support multi-line strings, making it easier to write and read code.