<p>The function createTimer() will make a timer that delays certain code. The function takes in two parameters. The first is the time, in milliseconds, before the function is executed. The second parameter is the function that will be executed after the delay.</p>
<pre><code>createTimer(1000,function(){});
//starts a timer of 1000 milliseconds
//after the timer, function() will be executed</code></pre>