How to use setInterval in JavaScript

How to use setInterval in JavaScript