Skip to content

Conversation

@waiz3ple
Copy link

@waiz3ple waiz3ple commented Jan 6, 2025

Hi Jonschlinkert,
I hope you're having a great day!
I’ve updated the is_number logic to enhance its readability. While reviewing the code, I noticed that Number.isFinite was carefully used due to browser compatibility concerns at the time it was written. However, Number.isFinite now has significantly wider support and is more reliable compared to the older isFinite function, which is less precise.
Let me know if there’s anything else you'd like me to address!

Copy link

@7aimez 7aimez left a comment

Choose a reason for hiding this comment

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

Good Refactor

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