Created
January 16, 2013 09:17
-
-
Save RonnyO/4545779 to your computer and use it in GitHub Desktop.
Like console.log, just a tiny bit funnier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// console.lol by @RonnyOrbach, idea by Erez Avny | |
if (typeof console != 'undefined') console.lol = function(){ | |
var args = [].slice.call(arguments, 0); | |
args.unshift("LOL"); | |
args.push("LOLOLOL!") | |
console.log.apply(console, args); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Get the minified version here.