mirror of
https://github.com/iggredible/Learn-Vim
synced 2024-11-10 13:10:40 +00:00
Clarify example on immutable variable
This commit is contained in:
parent
9fd68f178e
commit
66439f1bf9
@ -40,14 +40,7 @@ You can define an immutable variable with `const`.
|
||||
|
||||
```
|
||||
const waffle = "waffle"
|
||||
|
||||
echo waffle
|
||||
"return waffle
|
||||
|
||||
const waffle = "pancake"
|
||||
" returns error
|
||||
|
||||
let waffle = "pancake"
|
||||
" throws an error
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user