Skip to content

Commit

Permalink
Merge pull request go101#283 from MambaWong/master
Browse files Browse the repository at this point in the history
change 'variables' to 'constants' in 'Constant Declarations'
  • Loading branch information
zigo101 authored Oct 29, 2024
2 parents 88b279f + ce272c0 commit c1eacd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/fundamentals/constants-and-variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ <h3>Constant Declarations</h3>
Please note that, constants can be declared both
at package level (out of any function body) and in function bodies.
The constants declared in function bodies are called local constants.
The variables declared out of any function body
The constants declared out of any function body
are called package-level constants.
We also often call package-level constants as global constants.
</p>
Expand Down

0 comments on commit c1eacd8

Please sign in to comment.