Skip to content

Instantly share code, notes, and snippets.

@RonnyO
Created January 16, 2013 09:17
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RonnyO/4545779 to your computer and use it in GitHub Desktop.
Save RonnyO/4545779 to your computer and use it in GitHub Desktop.
Like console.log, just a tiny bit funnier
// 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);
};
@RonnyO
Copy link
Author

RonnyO commented Jan 16, 2013

Get the minified version here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment