会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
yanyan1114
博客园
首页
新随笔
联系
管理
订阅
2016年9月13日
String 的方法总结
摘要: 1、charCodeAt方法返回一个整数,代表指定位置字符的Unicode编码。 strObj.charCodeAt(index) var str = "ABC"; str.charCodeAt(0);//65 2、fromCharCode方法从一些Unicode字符串中返回一个字符串。 Strin
阅读全文
posted @ 2016-09-13 14:07 yanyan1114
阅读(159)
评论(0)
推荐(0)
编辑