let randomCode = (Math.random() + 1).toString(36).substring(7); console.log("random code :", randomCode);