摘要: Javascript中char和int的互相转换的代码// Converts an integer (unicode value) to a charfunctionitoa(i){returnString.fromCharCode(i);}// Converts a char into to an integer (unicode value)functionatoi(a){returna.charCodeAt();} 阅读全文
posted @ 2013-05-05 17:29 AStronghcm 阅读(1219) 评论(0) 推荐(0) 编辑