This file contains hidden or 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 attempts = []; | |
| var attemptCount = 0; | |
| let simultaneousCount = 10; | |
| var found = false; | |
| function randomString(length, chars) | |
| { | |
| var result = ''; | |
| for (var i = length; i > 0; --i) result += chars[Math.floor(Math.random() * chars.length)]; | |
| return result; |