diff --git a/1-js/02-first-steps/05-types/1-string-quotes/solution.md b/1-js/02-first-steps/05-types/1-string-quotes/solution.md index 68a13c15b..171662c16 100644 --- a/1-js/02-first-steps/05-types/1-string-quotes/solution.md +++ b/1-js/02-first-steps/05-types/1-string-quotes/solution.md @@ -1,15 +1,15 @@ -Backticks embed the expression inside `${...}` into the string. +Navodnici dodaju izraz koji se nalazi između `${...}` u izraz. ```js run let name = "Ilya"; -// the expression is a number 1 +// izraz je broj 1 alert( `hello ${1}` ); // hello 1 -// the expression is a string "name" +// izraz je string "name" alert( `hello ${"name"}` ); // hello name -// the expression is a variable, embed it +// izraz je varijabla, dodaj je alert( `hello ${name}` ); // hello Ilya ```
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: