摘要: charCodeAt与codePointAt的用法: 相同点: charCodeAt与codePointAt都是字符串实例上的方法,用途都是用来返回指定索引位字符的Unicode编码。 不同点: charCodeAt与codePointAt匹配索引位的规则不一样。charCodeAt是根据码元来匹配 阅读全文
posted @ 2020-01-05 21:09 ho~ho~ 阅读(1734) 评论(0) 推荐(0) 编辑