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
pluck
This is similar to #671, I think. It probably is not an issue that can be fixed, but should probably be documented with some caveat about property order access not being guaranteed in pluck.
var flintstonesA = { A: {name: 'fred', age: 40}, B: {name: 'wilma', age: 36}, C: {name: 'pebbles', age: 2} }; var flintstonesB = { B: {name: 'wilma', age: 36}, A: {name: 'fred', age: 40}, C: {name: 'pebbles', age: 2} }; _.pluck(flintstonesA, 'age'); //=> [40, 36, 2] _.pluck(flintstonesB, 'age'); //=> [36, 40, 2]
The text was updated successfully, but these errors were encountered:
Isn't this obvious, since that's really how iteration over object properties works in the browser?
Sorry, something went wrong.
b1b9916
Add iteration order note to _.pluck doc and adjust similar notes. [c…
_.pluck
adcadf0
…loses #703] [ci skip]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
This is similar to #671, I think. It probably is not an issue that can be fixed, but should probably be documented with some caveat about property order access not being guaranteed in
pluck
.The text was updated successfully, but these errors were encountered: