-
-
Notifications
You must be signed in to change notification settings - Fork 35.2k
Closed
Labels
questionIssues that look for answers.Issues that look for answers.
Description
- Version: v6.11.2
- Platform: tested on linux and mac
- Subsystem:
setInterval(()=>{console.log("a");}, Math.pow(2,31));
same for:
setTimeout(()=>{console.log("a");}, Math.pow(2,31));
Timeout is fired as if it is:
setInterval(()=>{console.log("a");}, 0);
or
setTimeout(()=>{console.log("a");}, 0);
The same issue with any timeout or interval > Math.pow(2,31)-1
Should raise an exception instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionIssues that look for answers.Issues that look for answers.