-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Accept numbers as path elements #12
Comments
So, basically nothing else treats numbers as indices for array creation? |
Every other lib creates arrays for non-negative integers, no matter if they
are represented by numbers or strings
…On Sun, 9 Sep 2018 at 14:38, Luke Edwards ***@***.***> wrote:
So, basically nothing else treats numbers as indices for array creation?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AJWMki1HaOI2-biuUB4iAXWJn2rbYWWQks5uZQvPgaJpZM4WgP8j>
.
|
lukeed
added a commit
that referenced
this issue
Jan 27, 2021
- ["foo", "10.0"] => object - ["foo", 10.0] => array ^ matches lodash - Closes #12
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems like a reasonable input for me. Both ramda & lodash accept it.
Mentioned libraries also handle this by creating an object instead of array (like in my previously reported issue):
The text was updated successfully, but these errors were encountered: