字符 → ASCII 码:StringValue.charCodeAt() ASCII 码 → 字符:String.fromCharCode(asciiValue)
转自:https://www.jianshu.com/p/24966e1205f9