setInterval method
Calls a callback function after every delay in milliseconds has elapsed.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
Syntax
DiagnosticsGlobalScope.setInterval(callback, timeout);
Parameters
callback [in]
Type: FunctionFunction to call back.
timeout [in]
Type: numberDelay in milliseconds.
Return value
This method does not return a value.