Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions 1-js/02-first-steps/05-types/1-string-quotes/solution.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@

Backticks embed the expression inside `${...}` into the string.
Вгради израза посредством примове и `${...}` в стринга.

```js run
let name = "Ilya";

// the expression is a number 1
// изразът е числото 1
alert( `hello ${1}` ); // hello 1

// the expression is a string "name"
// изразът е стринг "name"
alert( `hello ${"name"}` ); // hello name

// the expression is a variable, embed it
// изразът е променлива, вгради я
alert( `hello ${name}` ); // hello Ilya
```
6 changes: 3 additions & 3 deletions 1-js/02-first-steps/05-types/1-string-quotes/task.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
importance: 5
важност: 5

---

# String quotes
# Стрингови цитати

What is the output of the script?
Какъв е резултата от скрипта?

```js
let name = "Ilya";
Expand Down
Loading