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

Set support for loop #48

Open
Pavliko opened this issue Oct 5, 2017 · 1 comment
Open

Set support for loop #48

Pavliko opened this issue Oct 5, 2017 · 1 comment

Comments

@Pavliko
Copy link

Pavliko commented Oct 5, 2017

monkberry/monkberry.js

Lines 117 to 125 in e2e7cc4

// Get array length, and convert object to array if needed.
if (Array.isArray(array)) {
transform = transformArray;
arrayLength = array.length;
} else {
transform = transformObject;
keys = Object.keys(array);
arrayLength = keys.length;
}

@antonmedv
Copy link
Owner

Will be implemented in new release v5. See branch next.

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

2 participants