\n in strings

This commit is contained in:
aruseni 2019-07-11 00:40:02 +03:00 committed by GitHub
parent 3223ab322b
commit ac91c75710
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ Backticks also allow us to specify a "template function" before the first backti
## Special characters
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:
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:
```js run
let guestList = "Guests:\n * John\n * Pete\n * Mary";