3 ms·
That's correct, but the optional args parameter isn't supported in IE. So if you want to use setTimeout or setInterval to call a function with arguments you hav
by bouncingsoul 17y ago
That's correct, but the optional args parameter isn't supported in IE. So if you want to use setTimeout or setInterval to call a function with arguments you have to do it as an anonymous function with your function call inside.
You're right though that milliseconds should be the second argument, not the first.
https://developer.mozilla.org/En/Window.setTimeout https://developer.mozilla.org/En/Window.setTimeout