const alphabet = "abcdefghijklmnopqrstuvwxyz"
const randomCharacter = alphabet[Math.floor(Math.random() * alphabet.length)]
let myName = 'yourname';
let randomChar = Math.trunc(Math.random() * myName.length);
console.log(myName.charAt(randomChar));