String.fromCodePoint()
String.raw()
实例方法:codePointAt()
实例方法:normalize()
实例方法:includes(), startsWith(), endsWith()
实例方法:repeat()
实例方法:padStart(),padEnd()
实例方法:trimStart(),trimEnd()
实例方法:matchAll()
1.String.fromCodePoint()
可以识别大于0xFFFF
的字符,弥补了String.fromCharCode()
方法的不足。在作用上,正好与下面的codePointAt()
方法相反。
String.fromCodePoint(0x20BB7)// "