ES6:字符串的新增方法
String.fromCodePoint()
String.raw()
实例方法:codePointAt()
实例方法:normalize()
实例方法:includes(), startsWith(), endsWith()
实例方法:repeat()
实例方法:padStart(),padEnd()
实例方法:trimStart(),trimEnd()
实例方法:matchAll()
实例方法:replaceAll()
实例方法:at()
...
原创
2022-04-19 15:15:21 ·
189 阅读 ·
0 评论