title: Sending multiple responses(res.json) with the same response object in Express.js
body: <pre><code>res.json(Object.assign({}, cart.generateArray()));
  res.json(JSON.stringify(cart.totalPrice));
  </code></pre>
  
  <p>how can i send Sending multiple responses because my code doesn't work</p>
  
  <p>thank you</p>