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

Default to array instead of object if all update keys are numbers #22

Closed
aaronjensen opened this issue Aug 13, 2015 · 1 comment · Fixed by #34
Closed

Default to array instead of object if all update keys are numbers #22

aaronjensen opened this issue Aug 13, 2015 · 1 comment · Fixed by #34

Comments

@aaronjensen
Copy link
Member

Extracted from #20

u.({ 0: 'hi' }, null) // => ['hi']
@a-b-r-o-w-n
Copy link
Contributor

I have added some test cases for this in https://github.com/substantial/updeep/tree/default-to-array

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

Successfully merging a pull request may close this issue.

2 participants