var chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789' console.log(chars.charAt(Math.floor(Math.random() * chars.length)))