Generate random string with variable length
var length = 15;
Math.random().toString(33).substr(2, length);
Written by Artem Riasnianskyi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Random
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#