title: Sleep in JavaScript - delay between actions
body: <p>Is there a way I can do a sleep in JavaScript before it carries out another action?</p>
  <p>Example:</p>
  <pre class="lang-js prettyprint-override"><code>var a = 1 + 3;
  // Sleep 3 seconds before the next action here.
  var b = a + 4;
  </code></pre>