Return to Snippet

Revision: 59501
at September 12, 2012 15:33 by ywding


Initial Code
window.log = function() {
    log.history = log.history || [];
    log.history.push(arguments);
    if(this.console) {
	console.log(Array.prototype.slice.call(arguments));
    }
};

Initial URL

                                

Initial Description
print log in IE and Firefox

Initial Title
print log in IE and Firefox

Initial Tags

                                

Initial Language
JavaScript