Changing it to
```
randomChars[i] = VALID_CHARS[randomInt(VALID_CHARS.length)];
```