guci-date
Version:
A golden bottle of sake costs ten thousand yuan, and a jade plate costs ten thousand yuan.
50 lines (40 loc) • 1.56 kB
JavaScript
export function getRandomLetterA() {
var randomIndex = Math.floor(Math.random() * 26);
var randomLetter = String.fromCharCode(65 + randomIndex);
return randomLetter;
}
export function getRandomLetterB() {
var randomIndex = Math.floor(Math.random() * 26);
var randomLetter = String.fromCharCode(65 + randomIndex);
return randomLetter;
}
export function getRandomLetterC() {
var randomIndex = Math.floor(Math.random() * 26);
var randomLetter = String.fromCharCode(65 + randomIndex);
return randomLetter;
}
export function getRandomLetterD() {
var randomIndex = Math.floor(Math.random() * 26);
var randomLetter = String.fromCharCode(65 + randomIndex);
return randomLetter;
}
export function getRandomLetterE() {
var randomIndex = Math.floor(Math.random() * 26);
var randomLetter = String.fromCharCode(65 + randomIndex);
return randomLetter;
}
export function getRandomLetterF() {
var randomIndex = Math.floor(Math.random() * 26);
var randomLetter = String.fromCharCode(65 + randomIndex);
return randomLetter;
}
export function getRandomLetterG() {
var randomIndex = Math.floor(Math.random() * 26);
var randomLetter = String.fromCharCode(65 + randomIndex);
return randomLetter;
}
export function getRandomLetterH() {
var randomIndex = Math.floor(Math.random() * 26);
var randomLetter = String.fromCharCode(65 + randomIndex);
return randomLetter;
}