setTimeout wird sofort ausgelöst, wenn die Verzögerung mehr als 2147483648 Millisekunden beträgt
Das Problem
Wenn dasdelay
Länger als 2147483648 Millisekunden (24.8551 Tage) wird die Funktion sofort ausgelöst.
setTimeout(function(){ console.log('hey') }, 2147483648) // this fires early
setTimeout(function(){ console.log('hey') }, 2147483647) // this works properly
Ich habe es unter Chrome v26 und Node.js v8.21 ausprobiert