taskui
This commit is contained in:
parent
db4a880974
commit
06cdd5b84a
23 changed files with 110 additions and 775 deletions
|
@ -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"
|
||||
```
|
||||
|
|
@ -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").
|
Loading…
Add table
Add a link
Reference in a new issue