SetTimeout (fun) with one argument? (No timeout specified)

The specifications HTML5 indicate that it setTimeoutcan be started without the additional argument "timeout", which should say after how many milliseconds the functions "handler" will be assigned.

handle = window . setTimeout( handler [, timeout [, arguments ] ] )
   Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.

However, I could not find anywhere, which explains what happens when the timeout period is not set.

An animation implementation in the Raphael library is used as an example .

animationElements[length] && win.setTimeout(animation);
+5
source share

All Articles