mirror of
https://github.com/iggredible/Learn-Vim
synced 2024-11-30 14:19:10 +00:00
Clarify example on immutable variable
This commit is contained in:
parent
9fd68f178e
commit
66439f1bf9
1 changed files with 0 additions and 7 deletions
|
@ -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 a new issue