numberToLetter(number) { return String.fromCharCode(65 + number) } console.log(numberToLetter(0)) // "A"