Skip to content

Conversation

@Kikobeats
Copy link
Contributor

@Kikobeats Kikobeats commented Oct 23, 2021

Because

milliseconds < 0

is not enough since

NaN < 0 // => false

@sindresorhus sindresorhus changed the title ensure milliseconds is not NaN Ensure milliseconds argument is not NaN Oct 23, 2021
@sindresorhus sindresorhus merged commit 6b6c4e8 into sindresorhus:main Oct 23, 2021
@Kikobeats Kikobeats deleted the patch-1 branch October 24, 2021 09:30
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