Created
July 30, 2015 16:52
-
-
Save Igglybuff/382949731d56e7ca5c28 to your computer and use it in GitHub Desktop.
obligatory xigglyxuff generator in js
This file contains 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
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