title: Can I view the result of a callback function using console.log() in Firebug?
body: <p>Using the example below, is it possible to send the result of the callback function to the console, i.e. the value being returned?</p>
  
  <pre><code>rows.sort(function(a, b) {
   if(a.sortKey &lt; b.sortKey) return -sortDirection;
   if(a.sortKey &gt; b.sortKey) return sortDirection;
   return 0;
   });
  </code></pre>
  
  <p>What would I use as the argument: console.log(?)</p>