Skip to content

Instantly share code, notes, and snippets.

@JavaScript-Packer
Created January 24, 2016 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JavaScript-Packer/bf50b50acc96eab7dac8 to your computer and use it in GitHub Desktop.
Save JavaScript-Packer/bf50b50acc96eab7dac8 to your computer and use it in GitHub Desktop.
Few ways to do vanity scripting in JavaScript www.fakehack.com
var www = {}; www.WHAK = {};
www.WHAK.ca = "http://www.whak.ca";
www.WHAK.com = function(){ return "http://www.whak.com"; }();
www.WHAK.us = function(x){ return x}
console.log(www.WHAK.us("http://www.whak.us"));
console.log(www.WHAK.com);
console.log(www.WHAK.ca);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment