Skip to content

Commit 0d9c81a

Browse files
Merge pull request #15 from emiljs/patch-1
Update 04_template_literals.md
2 parents 1066cb7 + 4d3ff4b commit 0d9c81a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ebook/04_template_literals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The syntax for a ternary operator looks like this:
9595
```js
9696
const isDiscounted = false
9797

98-
return isFridgeEmpty ? "$10" : "20"
98+
return isFridgeEmpty ? "$10" : "$20"
9999
// $20
100100
```
101101

@@ -215,4 +215,4 @@ let str = strings[1];
215215

216216
 
217217

218-
To learn more about use cases of *template literals* check out [this article](https://codeburst.io/javascript-es6-tagged-template-literals-a45c26e54761).
218+
To learn more about use cases of *template literals* check out [this article](https://codeburst.io/javascript-es6-tagged-template-literals-a45c26e54761).

0 commit comments

Comments
 (0)