Definition: The setInterval method is available on window objects. It is used to run a function multiple times with a delay in between. The function passed in the first parameter will be run at the interval specified in milliseconds in the second parameter. While individual executions of the function may be slightly delayed if there is a heavy load on the computer that will not impact on the scheculed times of subsequent executions. This is not a reserved word so you can declare your own variable or function called setInterval but if you do then you will not be able to use the method.
Examples:
intervalID = window.setInterval(myFunc, 500);
