Multiline Strings
Learn how to create multiline strings using template literals with an example.
We'll cover the following
In the past , creating a multi-line string involved effort and resulted in noisy code. Template literals may be single line or multi-line; there is no special syntax to set the two apart, except for line breaks.
Get hands-on with 1400+ tech skills courses.