Question : Ascii Code JS
Answered by : bowz
// Pick a string. Your string can have any number of characters.
var my_string = "a";
// Calculate the ASCII value of the first character, i.e. the character at the position 0.
var ASCII_value = my_string.charCodeAt(0);
Source : | Last Update : Tue, 10 May 22
Question : javascript ascii character
Answered by : restu-wahyu-saputra
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 }) } }
Source : | Last Update : Sat, 06 Nov 21