title: Parsing arrays on JADE Template Engine
body: <p>I'm using JADE template engine with ExpressJS. </p>
  
  <p>sending this array to JADE template</p>
  
  <pre><code>var data = {
      "labels" : ["Label 1", "Label 2"]
  };
  res.render('index', {data: data});
  </code></pre>
  
  <p>And my JADE file looks like this:</p>
  
  <pre><code>script(type='text/javascript').
    var options = {
    labels: [#{data.labels}],
    ...
    };
  </code></pre>
  
  <p>As you see I'm trying to get <code>data.labels</code> values to inline <code>&lt;script&gt;</code> block of my JADE file. But output is like this:</p>
  
  <pre><code>&lt;script type="..."&gt;
  var options = {
        labels: [Label 1, Label 2], &lt;-- invalid syntax
        ...
        };
  </code></pre>
  
  <p>it must be like this:</p>
  
  <pre><code>&lt;script type="..."&gt;
  var options = {
        labels: ["Label 1", "Label 2"], &lt;-- valid syntax
        ...
        };
  </code></pre>
  
  <p>What should I do to use an array directly in JADE file?</p>