Window setInterval() Method

Alert “GEMCODE” every 5 seconds (5000 milliseconds):