title: how to see output of function in console.log?
body: <p>I have a code of about 70 odd lines.Just for testing purpose i want to check the output of what a function is returning.
  When I dumped my entire code in the console.log it did returned some array!!!
  But when I dump a particaular function from my code,it displays error.
  Is it possible to check the output of function in console.</p>
  
  <p>Not necessary,but my fiddle--->
  <a href="http://jsfiddle.net/ddfsb/4/" rel="nofollow">http://jsfiddle.net/ddfsb/4/</a></p>
  
  <p>I want to check what these 2 functions are returning-:</p>
  
  <pre><code>var getColumnCell = function (d, col)
  {
      var arr = d[1], ret = null
  
      for( var  i in arr ) {
      ret = arr[i][0] == col ? arr[i] : ret;
      if (ret) break;
      }
      return ret;
  }
  
  var mapCell = function (row)
  {
  return columns.map(function(column) {
  return { column : column, value : getColumnCell(row, column) }
  })
  }
  </code></pre>