how to generate a random email js es6 code example
Example: generate random email javascript
var chars = 'abcdefghijklmnopqrstuvwxyz1234567890';
var string = '';
for(var ii=0; ii<15; ii++){
string += chars[Math.floor(Math.random() * chars.length)];
}
alert(string + '@gmail.com');
// Generates a random "Gmail"