Template Literals
How can you use template literals to create a multi-line string?
To create a multi-line string with template literals, you simply include line breaks within the backticks. Unlike traditional string literals using single or double quotes, template literals preserve line breaks exactly as they appear in the source code, without needing to use escape sequences like \n. For example: ```javascript const multiLineString = `This is line one This is line two This is line three`; ``` The resulting string will contain actual newline characters at the positions where the line breaks occur in the source code. This feature makes template literals particularly useful for writing HTML templates, SQL queries, or any other text that is more readable when formatted across multiple lines. The preserved line breaks are actual newline characters in the string value, not just visual formatting in the code.