title: Array.join("<br>") method not printing each element of an array as a string on a separate line
body: <p>I'm stuck on this. Please guide me on this Javascript code.</p>
  <p>I'm trying to print the names of each month on a separate line. The code I'm using is given below.</p>
  <pre><code>const printArray = (arr) =&gt; {
  console.log( arr.join( &quot;&lt;br&gt;&quot; ) );
  };
  const months = [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ];
  printArray( months );
  </code></pre>
  <p>Now, this should come up with printing each element of the array or name of each month in a separate line but it's printing each element next to each other in the console.</p>
  <p>&quot;Jan<br>Feb<br>Mar<br>Apr<br>May<br>Jun<br>Jul<br>Aug<br>Sep<br>Oct<br>Nov<br>Dec&quot;</p>
  <p>whereas I want each element to be printed in a separate line as given below,</p>
  <pre><code>Jan
  Feb
  Mar
  Apr
  May
  Jun
  Jul
  Aug
  Sep
  Oct
  Nov
  Dec
  </code></pre>
  <p>Please, tell me why is that happening and also tell me the fix to it!</p>