mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Clarification
This commit is contained in:
parent
c38797fbff
commit
d34b59453a
@ -296,7 +296,9 @@ So `bytes` should always be preferred over `byte[]` because it is cheaper.
|
||||
Allocating Memory Arrays
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Creating arrays with variable length in memory can be done using the `new` keyword:
|
||||
Creating arrays with variable length in memory can be done using the `new` keyword.
|
||||
As opposed to storage arrays, it is **not** possible to resize memory arrays by assigning to
|
||||
the `.length` member.
|
||||
|
||||
::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user