Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript generate random string

// program to generate random strings

const result = Math.random().toString(36).substring(2,7);
console.log(result);
 
PREVIOUS NEXT
Tagged: #javascript #generate #random #string
ADD COMMENT
Topic
Name
6+1 =