We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e788a87 commit 30b0d42Copy full SHA for 30b0d42
1-js/02-first-steps/05-types/1-string-quotes/solution.md
@@ -1,15 +1,15 @@
1
2
-Backticks embed the expression inside `${...}` into the string.
+Atvirkštinės kabutės įterpia išraišką esančią viduje `${...}` į pačią eilutę.
3
4
```js run
5
let name = "Ilya";
6
7
-// the expression is a number 1
8
-alert( `hello ${1}` ); // hello 1
+// išraiška yra skaičius 1
+alert( `labas ${1}` ); // labas 1
9
10
-// the expression is a string "name"
11
-alert( `hello ${"name"}` ); // hello name
+// išraiška yra eilutė "name"
+alert( `labas ${"name"}` ); // labas name
12
13
-// the expression is a variable, embed it
14
-alert( `hello ${name}` ); // hello Ilya
+// išraiška yra kintamasis, jo vertė įterpiama
+alert( `labas ${name}` ); // labas Ilya
15
```
0 commit comments