js中 charCodeAt

    str="ling"   return str.charCodeAt(0)   //返回str 的第0个字符的编码号:108;   return str.charCodeAt(0)   //返回str 的第0个字符的编码号:105;
相关文章
相关标签/搜索