can not prefix with `this.`

This commit is contained in:
QQ喵 2021-06-08 15:09:18 +08:00 committed by GitHub
parent 7d8a4e63d8
commit aa37cc526a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ code that manages the database. In this example, the contract defines the
functions ``set`` and ``get`` that can be used to modify functions ``set`` and ``get`` that can be used to modify
or retrieve the value of the variable. or retrieve the value of the variable.
To access a state variable, you do not need the prefix ``this.`` as is common in To access a state variable, you can not prefix with ``this.`` as is common in
other languages. other languages.
This contract does not do much yet apart from (due to the infrastructure This contract does not do much yet apart from (due to the infrastructure