docs: addition to variables page
This commit is contained in:
parent
30a235b655
commit
4f981a6e0f
@ -4,3 +4,9 @@ initial
|
|||||||
true
|
true
|
||||||
0
|
0
|
||||||
apple
|
apple
|
||||||
|
|
||||||
|
# The shorthand `:=` initialization of variable can
|
||||||
|
# only be used inside any function.
|
||||||
|
# If used outside any function, it would generate
|
||||||
|
# `syntax error: non-declaration statement outside
|
||||||
|
# function body`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user