Clarify the immutability subsection

This commit is contained in:
Igor Irianto 2021-02-10 14:38:20 -06:00 committed by GitHub
parent 66439f1bf9
commit 24a43de38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ beverage = "orange juice"
" throws an error
```
You can define an immutable variable with `const`.
You can define an immutable variable with `const`. Being immutable, once a variable value is assigned, you cannot reassign it with a different value.
```
const waffle = "waffle"