Character Encoding(문자열 인코딩)
let str = "hello"; for(let idx in str) { console.log(str.charCodeAt(idx)) } // 104 101 108 108 111
Reference
Last updated
let str = "hello";
for(let idx in str) {
console.log(str.charCodeAt(idx))
}
// 104 101 108 108 111Last updated