📜  Javascript 将字符转换为 ascii - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:01:23.757000             🧑  作者: Mango
代码示例1
var myVar='A';
var myVarAscii = myVar.charCodeAt(0); //convert 'A' character to it's ASCII code (65)