title: How the result set passed in JavaScript?
body: <p>I have a code that is working fine.
  I just copied from the internet.</p>
  
  <pre><code>  db.transaction(function (tx, rs) {
     tx.executeSql("SELECT * FROM persons", [],
           function(tx, rs) {
            callback(rs);
           },
           function(){alert("Failed to fetch data");});
     });
  }
  </code></pre>
  
  <p>here, the <code>rs</code> specifies the result set. I just wanna know, whether any variable given as the second parameter ( <code>function(tx, rs)</code> ) will be taken as a result set?</p>
  
  <p>If not, where will we get the result set of the given query.</p>
  
  <p>Thanks in advance</p>