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 3e56ae3

Browse files
authoredJun 20, 2017
Update solution.md
Fix comments
1 parent 138fb2e commit 3e56ae3

File tree

1 file changed

+4
-4
lines changed
  • 1-js/02-first-steps/05-types/1-string-quotes

1 file changed

+4
-4
lines changed
 

‎1-js/02-first-steps/05-types/1-string-quotes/solution.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Backticks embed the expression inside `${...}` into the string.
55
let name = "Ilya";
66

77
// the expression is a number 1
8-
alert( `hello ${1}` ); // Hello, 1
8+
alert( `hello ${1}` ); // hello 1
99

1010
// the expression is a string "name"
11-
alert( `hello ${"name"}` ); // Hello, name
11+
alert( `hello ${"name"}` ); // hello name
1212

1313
// the expression is a variable, embed it
14-
alert( `hello ${name}` ); // Hello, Ilya
15-
```
14+
alert( `hello ${name}` ); // hello Ilya
15+
```

0 commit comments

Comments
 (0)
Please sign in to comment.