title: How to remove double quotes in variable Javascript
body: <p>I have this variable: </p>
  
  <pre><code>var sup = product[0]; // product[0] is equal to '8876532'
  </code></pre>
  
  <p>I would like to removed the double or single quotes. I tried these 2 options but it didn't work:</p>
  
  <pre><code>sup.replace(/"/g, "");
  </code></pre>
  
  <p>and </p>
  
  <pre><code>sup.replace(/["']/g, "");
  </code></pre>
  
  <p>Any help with this, would be highly appreciated!</p>