Report abuse

// originally from // http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/



// logargs(this); == console.log(this,arguments);

window.logargs = function(context){
  // grab the calling functions arguments
  log(context,arguments.callee.caller.arguments); 
}