I want to pass a random company name with only letters, no numbers and special characters. I used the function below but it is passing alphanumeric and special characters to the company name value. Is this the correct function to use?
function generateNewCompanyName() 
   {
   let text="";
   let alphabet="abcdefghijklmnopqrstuvwxyz"
   for(let i=0; i<10; i++)
   text +=alphabet.charAt(Math.floor(Math.random()*alphabet.length))
   return text;
   }
   Cypress.config('generatedCompanyName',Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15))
 
    