Javascript ASCII Caractère A à Z
const vowels = []
for (let i = 1; i <= 26; i++) {
let values = i - 1
let keys = 64 + i
if (values <= 25) {
vowels.push({ [`${String.fromCharCode(keys)}`]: values })
}
}
Restu Wahyu Saputra