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

Fix NaN handling in collections/sortBy ( closes #1092 ) #1104

Merged
merged 1 commit into from
Aug 6, 2021

Conversation

LionC
Copy link
Contributor

@LionC LionC commented Aug 5, 2021

This fixes NaN handling in sortBy as mentioned in #1092 by adding a simple explicit check. Also adds two tests for that behaviour.

@LionC LionC changed the title Fix NaN handling in collections/sortBy ( closes #1092 ) Fix NaN handling in collections/sortBy ( closes #1092 ) Aug 5, 2021
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LionC LGTM. Thanks!

@kt3k kt3k merged commit 08e5f6b into denoland:main Aug 6, 2021
@LionC LionC deleted the fix-sort-by-special-number-values branch August 23, 2021 10:54
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

Successfully merging this pull request may close these issues.

2 participants