Skip to content

Support 0 as a valid setTimeout id#3

Open
Fluzko wants to merge 1 commit intoedingroot:mainfrom
Fluzko:improve-settimeout-id-check
Open

Support 0 as a valid setTimeout id#3
Fluzko wants to merge 1 commit intoedingroot:mainfrom
Fluzko:improve-settimeout-id-check

Conversation

@Fluzko
Copy link

@Fluzko Fluzko commented Dec 24, 2022

Since it's guaranteed that the setTimeout returned ids are positive numbers and there's no documentation for 0, I suggest this addition in order to support that rare case where this case happens.

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.

1 participant