docs(using_the_console): fix typo of methods call

This commit is contained in:
yanqian 2019-05-07 14:00:15 +08:00 committed by Pascal Precht
parent 437cc3feed
commit 0f2a8231e0
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ This applies to synchronous as well as asynchronous APIs, which is very common w
In both the dashboard's console and the standalone console, you can use `await` for `Promise`-based calls: In both the dashboard's console and the standalone console, you can use `await` for `Promise`-based calls:
``` ```
Embark (development) > await SimpleStorage.method.get().call()<ENTER> Embark (development) > await SimpleStorage.methods.get().call()<ENTER>
``` ```
This works with other objects as well. The following example outputs available accounts emitted by the `web3` object: This works with other objects as well. The following example outputs available accounts emitted by the `web3` object: