How to Create a Timer using JavaScript

How to Create a Timer using JavaScript