Reordered code lines

This commit is contained in:
Ovidiu Voicu 2017-04-05 16:48:55 +03:00
parent c89d75fd27
commit 7e3a8ff9b5

View file

@ -7,9 +7,9 @@ let name = "Ilya";
// the expression is a number 1 // the expression is a number 1
alert( `hello ${1}` ); // Hello, 1 alert( `hello ${1}` ); // Hello, 1
// the expression is a variable, embed it
alert( `hello ${name}` ); // Hello, Ilya
// the expression is a string "name" // the expression is a string "name"
alert( `hello ${"name"}` ); // Hello, name alert( `hello ${"name"}` ); // Hello, name
// the expression is a variable, embed it
alert( `hello ${name}` ); // Hello, Ilya
``` ```