Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8b07d7d

Browse files
authoredJun 24, 2019
Merge pull request #1075 from K-Sato1995/patch-5
Fix a typo
2 parents 1183727 + 6f61b74 commit 8b07d7d

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ alert( 'I*!*\'*/!*m the Walrus!' ); // *!*I'm*/!* the Walrus!
102102

103103
As you can see, we have to prepend the inner quote by the backslash `\'`, because otherwise it would indicate the string end.
104104

105-
Of course, that refers only to the quotes that are same as the enclosing ones. So, as a more elegant solution, we could switch to double quotes or backticks instead:
105+
Of course, that refers only to the quotes that are the same as the enclosing ones. So, as a more elegant solution, we could switch to double quotes or backticks instead:
106106

107107
```js run
108108
alert( `I'm the Walrus!` ); // I'm the Walrus!

0 commit comments

Comments
 (0)
Please sign in to comment.