title: Can't convert array to CSV
body: <p>I have an array <code>selectedWorkCentres</code> that looks like this</p>
  
  <pre><code>Array[0]
  5N5-4-E: true
  EDI-4-E: true
  length: 0__proto__: Array[0]
  </code></pre>
  
  <p>I've tried <code>selectedWorkCentres.join()</code></p>
  
  <p>I expected </p>
  
  <pre><code>"5N5-4-E,EDI-4-E"
  </code></pre>
  
  <p>but always get back</p>
  
  <pre><code>""
  </code></pre>
  
  <p>EDIT: this is the code used to generate the array</p>
  
  <pre><code>var grid = e.sender;
              var items = grid.items();
              items.each(function (idx, row) {
                  var idValue = grid.dataItem(row).get(idField);
                  if (row.className.indexOf("k-state-selected") &gt;= 0) {
                      selectedOrders[idValue] = true;
                  } else if (selectedOrders[idValue]) {
                      delete selectedOrders[idValue];
                  }
              });
  </code></pre>
  
  <p>Any ideas?</p>