charCodeAt 获取 ascII编码
let d = "a"
console.log(d.charCodeAt()) // 97
let num = String.fromCharCode(97)
console.log(num) // a
charCodeAt 获取 ascII编码
let d = "a"
console.log(d.charCodeAt()) // 97
let num = String.fromCharCode(97)
console.log(num) // a
本文标题:2021-07-24-🌦🌦 charCodeAt , fromC
本文链接:https://www.haomeiwen.com/subject/dzcvmltx.html
网友评论