What it is the difference in having:
setInterval(function(){
},5000);
and:
setInterval(function(){
},5E3);
I know that 5E3 is like saying 5*1000 but is there is any benefits one from another way to declare times?
No, there's no difference, as both literals are parsed into the same primitive number.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With