You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: concepts/template-strings/introduction.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ lines`;
38
38
lines
39
39
*/
40
40
```
41
-
If you want to represent a newline inside a single-line string (not using backticks), you can use the newline escape sequence `\n`:
41
+
If you want to represent a newline inside a regular string instead of using a template string (ie. not using backticks), you can use the newline escape sequence `\n`:
42
42
43
43
```javascript
44
44
"This is an example of using the newline escape sequence!\nWithout backticks"
0 commit comments