The setInterval() Method

Click the button to wait 3 seconds, then alert "Hello".

After clicking away the alert box, an new alert box will appear in 3 seconds. This goes on forever...