title: Can I use JSTL operations as statements in javascript?
body: <p>I have a <code>HashMap</code> retrieved from my <code>Controller</code> and I want to put all values inside a <code>javascript</code> array but I keep getting an <em>missing ) argument list</em> error.</p>
  
  <p>I read that it was possible to use <code>JSTL</code> tags inside <code>javascript</code>.</p>
  
  <p>Here is my code:</p>
  
  <p><strong>EDITED</strong>
  Resolved using @Pointy suggestion to make value quoted.</p>
  
  <pre><code>&lt;script&gt;
   var schools = [];
   &lt;c:forEach items="${requestScope.school_list}" var="school"&gt;  
              schools.push("${school.value}");
   &lt;/c:forEach&gt;
  
   console.log(schools);
  &lt;/script&gt;
  </code></pre>
  
  <p>Any suggestions? Or is it a bad practice to mix <code>JSTL</code> and <code>javascript</code>?</p>