ES6入门学习日记2

116 阅读1分钟

ES6

模板字符串

实例:模板编译

待复习

字符串新增方法

String.fromCodePoint()
String.raw()
实例方法:codePointAt()
实例方法:normalize()
实例方法:includes(), startsWith(), endsWith()
实例方法:repeat()
实例方法:padStart(),padEnd()
实例方法:trimStart(),trimEnd()
实例方法:matchAll()

今天没啥可写的…别的课程占用了这部分时间.