generate random hash in javascript

55

generate random hash in javascript -

let r = Math.random().toString(36).substring(7);
console.log("random", r);

random alphabet javascript -

Math.random().toString(36).substr(2, 5);

Comments

Submit
0 Comments