Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Data types#70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
otmon76 merged 20 commits intojavascript-tutorial:masterfromotmon76:1.2.5
May 1, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
20 commits
Select commitHold shift + click to select a range
3a4727f
1.2.5
otmon76Apr 18, 2022
22d8438
Update 1-js/02-first-steps/05-types/1-string-quotes/solution.md
otmon76May 1, 2022
aa68e23
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
f4cdaf1
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
4f360e4
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
0a12073
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
4c1e115
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
f8a6a47
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
c37aabc
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
8e00ea5
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
956c86b
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
bbd4bed
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
9dfcf8d
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
f92c58b
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
fcf8c17
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
813bf88
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
6fa4231
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
79f2a8b
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
0773d10
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
060b177
Update 1-js/02-first-steps/05-types/article.md
otmon76May 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions1-js/02-first-steps/05-types/1-string-quotes/solution.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@

Backticks embed the expression inside`${...}` into the string.
Obrácené čárky vkládají do řetězce hodnotu výrazu uvnitř`${...}`.

```js run
letname = "Ilya";
letjméno = "Ilja";

//the expression is a number 1
alert( `hello ${1}` ); //hello 1
//výrazem je číslo 1
alert( `ahoj ${1}` ); //ahoj 1

//the expression is a string "name"
alert( `hello ${"name"}` ); //hello name
//výrazem je řetězec "jméno"
alert( `ahoj ${"jméno"}` ); //ahoj jméno

//the expression is a variable, embed it
alert( `hello ${name}` ); //hello Ilya
//výrazem je proměnná, hodnota se vloží do řetězce
alert( `ahoj ${jméno}` ); //ahoj Ilja
```
12 changes: 6 additions & 6 deletions1-js/02-first-steps/05-types/1-string-quotes/task.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,16 +2,16 @@ importance: 5

---

#String quotes
#Uvozovky řetězců

What is the output of the script?
Jaký je výstup tohoto skriptu?

```js
letname = "Ilya";
letjméno = "Ilja";

alert( `hello ${1}` ); // ?
alert( `ahoj ${1}` ); // ?

alert( `hello ${"name"}` ); // ?
alert( `ahoj ${"jméno"}` ); // ?

alert( `hello ${name}` ); // ?
alert( `ahoj ${jméno}` ); // ?
```
Loading

[8]ページ先頭

©2009-2025 Movatter.jp