😎
ES6学习笔记
😎
ES6学习笔记
sugar`s Blog
Introduction
1 块级作用域
2 数据类型Symbol
3 变量解构赋值
4 字符串的扩展
4.1 for of遍历
4.2 模板字符串
4.3 新增方法
5 数组的扩展
6 对象的扩展
7 Map与WeekMap
8 Set与WeekSet
9 相互转换
10 Proxy代理
11 Reflect
12 函数的扩展
13 Class
14 Module 模块
15 Promise
16 Iterator与for..of
17 Generator函数
Powered by GitBook

4 字符串的扩展

  • ​4.1 for of遍历​

  • ​4.2 模板字符串​

  • ​4.3 新增方法​

    • ​4.3.1 String.includes()​

    • ​4.3.2 String.startsWith()​

    • ​4.3.3 String.endsWith()​

    • ​4.3.4 String.repeat()​

    • ​4.3.5 String.padStart()​

    • ​4.3.6 String.padEnd()​

    • ​4.3.7 String.trimStart()​

    • ​4.3.8 String.trimEnd()​

Previous
3.4 常见用途
Next
4.1 for of遍历
Last updated 1 year ago
Edit on GitHub