title: Javascript array parsing
body: <pre><code>var usersRows = [];
  connection.query('SELECT * from users', function(err, rows, fields) {
      if (!err) {
          rows.forEach(function(row) {
              usersRows.push(row);
          });
          console.log(usersRows);
      }
      else {
          console.log('Error while performing Query.' + err);
      }
  });
  </code></pre>
  
  <p>It returned to me:</p>
  
  <pre><code>var usersRows = [ [ RowDataPacket { id: 1, name: 'sall  brwon', number: '+99999999\r\n' } ] ];
  </code></pre>
  
  <p>I need to parse this and remove <code>rowdatapacket</code>; I need result like this:</p>
  
  <pre><code>userRows = { id: 1, name: 'my name is', number: '+999999\r\n' };
  </code></pre>