Es6之字符串处理常用方法
摘要:
1.字符串的遍历器接口 let text = String.fromCodePoint(0x20BB7); for (let i = 0; i < text.length; i++) { console.log(text[i]); } // " " // " " for (let i of text 阅读全文
posted @ 2020-03-04 23:21 漫思 阅读(6531) 评论(0) 推荐(0) 编辑