DEV Community

Discussion on: Fastest Way to Generate Random Strings in JavaScript

pcbailey profile image
Phillip Rhodes

Hi, thanks for the simple, straight-forward article! I just wanted to point out a small error in your one-liner. You define the length variable, but you still used a hard-coded "6" instead of it in the expression.