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

Return format is not an object #23

Open
YglesEyes opened this issue Jul 18, 2019 · 3 comments
Open

Return format is not an object #23

YglesEyes opened this issue Jul 18, 2019 · 3 comments

Comments

@YglesEyes
Copy link

The return value is not an Object but it's an Array

@MonsieurNerd
Copy link

Thus it is impossible to loop on results with a "for of" loop.

@zajrik
Copy link

zajrik commented Aug 2, 2019

You can use Object.keys(), to get the keys and iterate that way. But yes this problem is a stupid one.

@alvarobyrne
Copy link

In the github repo it IS an object

var results = {}
but in the version published in npm , it is (still) an array. @kaesetoast , kindly publish your last version to npm, please, thanks in advance.

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

No branches or pull requests

4 participants