title: Send object from node.js to ejs, not [object Object]
body: <p>If you use node.js and ejs and render JavaScript object to ejs, the resultant HTML page has the following syntax:</p>
  
  <pre><code>[object Object]
  </code></pre>
  
  <p>despite the fact that my object is as follows:</p>
  
  <pre><code>[{"a": 3, "b": 10}, {"c":3, "d":20}, {"e":1, "f":55}]
  </code></pre>
  
  <p>However, I want to render the object itself (object literal if I understand it correctly), not the useless <code>[object Object]</code>.</p>
  
  <p>So how can I render it properly? <code>res.render("index", {result: listOfObject.valueOf()})</code> didn't work.</p>