22 lines
244 B
Markdown
22 lines
244 B
Markdown
## Variables
|
|
|
|
[Assign](/blocks/variables/assign) (set) a variable's value
|
|
|
|
```blocks
|
|
let x = 0;
|
|
```
|
|
|
|
Get a variable's value
|
|
|
|
```blocks
|
|
let x = 0;
|
|
x;
|
|
```
|
|
|
|
[Change](/blocks/variables/change-var) a variable's value
|
|
|
|
```blocks
|
|
let x = 0;
|
|
x+=1;
|
|
```
|