title: date and replace method only change the first found value
body: <p>I m trying to replace some values from a date but it only change the first found value.</p>
  
  <pre><code>var date= cars.getAttribute("myLastDate");
  var dateChanged= date.replace("/", ",");
  alert (dateChanged);
  </code></pre>
  
  <p>Best regards.</p>