23
rated 0 times
[
30]
[
7]
/ answers: 1 / hits: 55558
/ 12 Years ago, sat, march 10, 2012, 12:00:00
I would like to put
var minValue = 0;
if ( typeof callback == 'function' ) {
setTimeout( callback, minValue );
}
this code when I implement callback function with JavaScript.
But I've found that modern browsers and some old browsers
have different minimum timeout value.
I know that Zero cannot be minimum value.
What would be minimum value of setTimeout for
modern browsers and some old browsers for compatibility issues?
More From » timer