Console.log seguro em IEs / Chrome / FF
// usage: log(‘inside coolFunc’, this, arguments);window.log = function f() { log.history = log.history || []; log.history.push(arguments); if (this.console) { var args = arguments, newarr; args.callee = args.callee.caller; newarr = [].slice.call(args); …
Continuar lendo