mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11301 from ra-phael/docs-clarify-init-value
[Docs] Clarify initialisation value of state variables
This commit is contained in:
commit
9439ff8b02
@ -388,7 +388,7 @@ which is executed upon contract creation, and where you can run contract
|
||||
initialisation code.
|
||||
|
||||
Before the constructor code is executed, state variables are initialised to
|
||||
their specified value if you initialise them inline, or zero if you do not.
|
||||
their specified value if you initialise them inline, or their :ref:`default value<default-value>` if you do not.
|
||||
|
||||
After the constructor has run, the final code of the contract is deployed
|
||||
to the blockchain. The deployment of
|
||||
|
Loading…
Reference in New Issue
Block a user