Skip to content

Commit da23387

Browse files
authored
Merge pull request #1135 from aruseni/patch-9
\n in strings
2 parents 3223ab3 + ac91c75 commit da23387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/03-string/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Backticks also allow us to specify a "template function" before the first backti
5454

5555
## Special characters
5656

57-
It is still possible to create multiline strings with single quotes by using a so-called "newline character", written as `\n`, which denotes a line break:
57+
It is still possible to create multiline strings with single and double quotes by using a so-called "newline character", written as `\n`, which denotes a line break:
5858

5959
```js run
6060
let guestList = "Guests:\n * John\n * Pete\n * Mary";

0 commit comments

Comments
 (0)