title: How to split array and return it in column javascript
body: <p>How to split the return data and make it column.</p>
  <p>Here is my data.</p>
  <pre><code>var data = [
   {&quot;name&quot;:&quot;jer@yahoo.com&quot;,&quot;person&quot;:&quot;trake@org.com,kendar@org.com&quot;,&quot;date&quot;:&quot;07/06/2020 16:04:50&quot;,&quot;class&quot;:&quot;Lanter&quot;},
  {&quot;name&quot;:&quot;terry@yahoo.com&quot;,&quot;person&quot;:&quot;trakedds@org.com,relak@org.com&quot;,&quot;date&quot;:&quot;07/06/2020 16:04:50&quot;,&quot;class&quot;:&quot;Lanter&quot;},
  ]
  </code></pre>
  <p>And here i return the data.</p>
  <pre><code>var name= &quot;&quot;,
  person= &quot;&quot;,
  date= &quot;&quot;,
  class=&quot;&quot;;
  
  
  for (var i = 0; i &lt; data.length; i++) {
    var name= data[i].name,
      person= data[i].persom,
      class= data[i].class
       switch () {
     
    }
  
  
  &lt;td&gt;${data[i].name}&lt;/td&gt;
  &lt;td&gt;${data[i].person}&lt;/td&gt;
  &lt;td&gt;${data[i].date}&lt;/td&gt;
  &lt;td&gt;${data[i].class}&lt;/td&gt;
  </code></pre>
  <p>Expected output should be this</p>
  <pre><code>jer@yahoo.com   trakedds@org.com     07/06/2020   Lanter
                  kendar@org.com
  </code></pre>
  <p>The problem is the data of 'person' is not splitting when ive tried to return it.
  I just want to seperate if he have more emails.. it should goes down. Ive tried to put some <br> but doesnt work. Thanks!</p>