How to convert date format from dd.mm.yyyy to dd/mm/yyyy in javascript : <p>Input  <code>13.09.2018 (dd.mm.yy)</code></p>

<p>Expected format <code>13/09/2018 (dd/mm/yy)</code></p>

<p>How to convert the input date to expected format in javascript?</p>
