title: How to set a cookie to expire in 1 hour in Javascript?
body: <p>How to set this cookie to expire in one hour from the current time:</p>
  
  <pre><code>document.cookie = 'username=' + value; + 'expires=' + WHAT GOES HERE?; + 'path = /';
  </code></pre>