Generate A Random String In JavaScript

function generateRandomString() {
  return Math.random().toString(36).substring(2);
}

 

Add new comment

The content of this field is kept private and will not be shown publicly.