console.log("A0azAZ09".charCodeAt(2));//ASCII码
console.log(String.fromCharCode(65));
console.log("0aA".charCodeAt(0));
console.log(String.fromCharCode(48));
取ASCII的值,返回ASCII的值
猜你喜欢
转载自www.cnblogs.com/miniSkytrue/p/12232325.html
今日推荐
周排行