const str = 'a' const nextLetter = String.fromCharCode(str.charCodeAt(str.length - 1) + 1) console.log(nextLetter)