title: Update value of javascript variable used in jade
body: <p>I am new to Nodejs + Express Jade, I am using a javascript variable in index.jade</p>
  
  <pre><code>-var a = 10
  h1= a
  </code></pre>
  
  <p>Its displaying 10 in jade page, but what if value of 'a' changed after some execution, it will still be displaying 10, i want to display new value of variable 'a', any help?</p>