Reordered code lines
This commit is contained in:
parent
c89d75fd27
commit
7e3a8ff9b5
1 changed files with 3 additions and 3 deletions
|
@ -7,9 +7,9 @@ let name = "Ilya";
|
|||
// the expression is a number 1
|
||||
alert( `hello ${1}` ); // Hello, 1
|
||||
|
||||
// the expression is a variable, embed it
|
||||
alert( `hello ${name}` ); // Hello, Ilya
|
||||
|
||||
// the expression is a string "name"
|
||||
alert( `hello ${"name"}` ); // Hello, name
|
||||
|
||||
// the expression is a variable, embed it
|
||||
alert( `hello ${name}` ); // Hello, Ilya
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue