ECMAScript [1] provides a standard function, Math.random, which according to the specifications (ECMA-262, 3rd edition, 15.8.2.14) "returns a number value with positive sign, greater than or equal to ...
Create a prompt to display when the button "generate password' is clicked. This prompt will display password critetia, password length*, for eg. the first will display Numbers, second, uppercase, ...
So it turns out the random number generator long used by developers working with Google's V8 JavaScript engine doesn't really generate random numbers at all. That's being fixed in the latest release ...