@ -13,14 +13,16 @@ arrays can hold objects and vice versa.
|
|||||||
|
|
||||||
`true` or `false` work when defining values.
|
`true` or `false` work when defining values.
|
||||||
|
|
||||||
## Variable declaration
|
## Constant declaration
|
||||||
|
|
||||||
Variables are defined with the `let` keyword like so:
|
Constants are defined with the `let` keyword like so:
|
||||||
|
|
||||||
```
|
```
|
||||||
let myBool = false
|
let myBool = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Currently you cannot redeclare a constant.
|
||||||
|
|
||||||
## Array
|
## Array
|
||||||
|
|
||||||
An array is defined with `[]` braces. What is inside the brackets can
|
An array is defined with `[]` braces. What is inside the brackets can
|
||||||
|
Reference in New Issue
Block a user