// program to generate random strings const result = Math.random().toString(36).substring(2,7); console.log(result);