From a109bfbb5b5b1e921ca16a83c35205d073570b0d Mon Sep 17 00:00:00 2001 From: Douglas Muth Date: Sun, 21 Jun 2015 18:24:59 -0400 Subject: [PATCH] Now capitalizing first word so that the resulting password is easier to read --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index 612dbea..21cce3f 100644 --- a/main.js +++ b/main.js @@ -73,6 +73,7 @@ function roll_dice() { */ function get_word(wordlist, index) { var retval = wordlist[index]; + retval = retval[0].toUpperCase() + retval.slice(1); return(retval); }