This commit is contained in:
Ilya Kantor 2020-11-21 20:38:22 +03:00
parent db4a880974
commit 06cdd5b84a
23 changed files with 110 additions and 775 deletions

View file

@ -0,0 +1,12 @@
In the code below, each line corresponds to the item in the task list.
```js run
let admin, name; // can declare two variables at once
name = "John";
admin = name;
alert( admin ); // "John"
```

View file

@ -0,0 +1,10 @@
importance: 2
---
# Working with variables
1. Declare two variables: `admin` and `name`.
2. Assign the value `"John"` to `name`.
3. Copy the value from `name` to `admin`.
4. Show the value of `admin` using `alert` (must output "John").