- 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.
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.