Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Result object is now an array, also with named properties #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kumavis
Copy link
Contributor

@kumavis kumavis commented Apr 19, 2020

the ensures the result is iterable, useful for easy destructuring

Fixes ethjs/ethjs#36

the ensures the result is iterable, useful for easy destructuring
@kumavis
Copy link
Contributor Author

kumavis commented Apr 19, 2020

array with properties example

> x=[]
[]
> x.a=1
1
> x.b=2
2
> x
[ a: 1, b: 2 ]
> x.push('a')
1
> x.push('b')
2
> x.push('c')
3
> x
[ 'a', 'b', 'c', a: 1, b: 2 ]

@SilentCicero
Copy link
Member

SilentCicero commented Apr 19, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eth.contract method result not iteratable
2 participants