Skip to content

Commit 641627e

Browse files
committed
Resolved DrkSephy#22
1 parent ef3b39a commit 641627e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,14 @@ var text = [
231231
**Template Literals** will preserve new lines for us without having to explicitly place them in:
232232

233233
```javascript
234-
let text = `cat
235-
dog
236-
nickelodeon`
234+
let text = ( `
235+
cat
236+
dog
237+
nickelodeon`
238+
)
237239
```
238240

241+
239242
**Template Literals** can accept expressions, as well:
240243

241244
```javascript

0 commit comments

Comments
 (0)