Skip to content

Instantly share code, notes, and snippets.

@Igglybuff
Created July 30, 2015 16:52
Show Gist options
  • Save Igglybuff/382949731d56e7ca5c28 to your computer and use it in GitHub Desktop.
Save Igglybuff/382949731d56e7ca5c28 to your computer and use it in GitHub Desktop.
obligatory xigglyxuff generator in js
var xiglist = [ "w", "j", "p", "g", "l", "n", "m", "b", "z", "r", "t" ];
var c1 = xiglist[Math.floor(Math.random() * xiglist.length)];
var c2 = xiglist[Math.floor(Math.random() * xiglist.length)];
while (c1 == c2) {
c1 = xiglist[Math.floor(Math.random() * xiglist.length)];
}
var xig = c1 + " i g g l y " + c2 + " u f f";
document.write (xig);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment