title: Foreach loop in jade (node.js template engine)
body: <p>Ok, I am getting an associative array from node server and trying to render it in Jade. I obviously need a foreach loop, but nothing seems to work! I tried these both codes:</p>
  
  <pre><code>- foreach row in rows {
      li= row
  - }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>- rows.forEach(function(item)) {
      li= item
  - })
  </code></pre>
  
  <p>the array I am passing is called "rows". Any idea why this is not working? I am getting this error:</p>
  
  <pre><code>500 SyntaxError: Unexpected identifier
  </code></pre>
  
  <p>and, with the second code:</p>
  
  <pre><code>500 SyntaxError: Unexpected token )
  </code></pre>