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

OrderedMap.skip(Infinity) returns the entire collection #1287

Closed
meta-meta opened this issue Aug 10, 2017 · 1 comment
Closed

OrderedMap.skip(Infinity) returns the entire collection #1287

meta-meta opened this issue Aug 10, 2017 · 1 comment

Comments

@meta-meta
Copy link

What happened

I would expect OrderedMap.skip(Infinity) to return an empty OrderedMap. It returns the collection.
List works as expected.

How to reproduce

new Immutable.OrderedMap([['a', 1]]).skip(Infinity).size
1
@leebyron
Copy link
Collaborator

This issue was fixed in a prior release, but just to confirm I added your reproduction case as a test!

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