mirror of https://github.com/status-im/web3.js.git
small backup change
This commit is contained in:
parent
e199b68b8c
commit
dbdbd3c803
|
@ -467,7 +467,7 @@ Example
|
||||||
var MyContract = new web3.eth.contract(abi, address);
|
var MyContract = new web3.eth.contract(abi, address);
|
||||||
MyContract.methods.myFunction().call()
|
MyContract.methods.myFunction().call()
|
||||||
.then(console.log);
|
.then(console.log);
|
||||||
> {
|
> Result {
|
||||||
myNumber: '23456',
|
myNumber: '23456',
|
||||||
myString: 'Hello!%',
|
myString: 'Hello!%',
|
||||||
0: '23456', // those are here as fallback, if the name is not know or given
|
0: '23456', // those are here as fallback, if the name is not know or given
|
||||||
|
|
Loading…
Reference in New Issue