We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b56b51c + 794175f commit 6e030d6Copy full SHA for 6e030d6
docs/embarkjs.rst
@@ -11,7 +11,7 @@ methods in EmbarkJS contracts will be converted to promises.
11
.. code:: javascript
12
13
var myContract = new EmbarkJS.Contract({abi: abiObject, address: "0x123"});
14
- myContract.get().then(function(value) { console.log("value is " + value.toNumber) });
+ myContract.get().then(function(value) { console.log("value is " + value.toNumber()) });
15
16
**deployment**
17
0 commit comments