js中 charCodeAt

    str="ling"   return str.charCodeAt(0)   //返回str 的第0個字符的編碼號:108;   return str.charCodeAt(0)   //返回str 的第0個字符的編碼號:105;
相關文章
相關標籤/搜索