ES6-新增特性一览
[[toc]]
1. let/const取代var
2. 字符串模板
3. 对象解构
4. 新数据类型 Symbol
5. 新数据结构Map/Set/WeakMap/WeakSet
6. Proxy、Reflect
7. 扩展
字符串填充(padStart 和 padEnd)
Array
- Array.from()
 - Array.of()
 - Array.copyWithin()
 - Array.find()
 - Array.findIndex()
 - Array.fill()
 - Array.includes()
ES7 
Object
- Object.keys()
 - Object.values()
ES8 - Object.entries()
ES8 - Object.assign()
 - Object. is()
 
8. 异步
- Promise
- Promise.prototype.then
 - Promise.prototype.catch
 - Promise.prototype.finally
ES9 - Promise.all()
 - Promise.rece()
 
 - Iterator
- Iterator接口
 - for of
 
 - Generator
- yield*
 
 - async/await
ES8 
9. Class类
- class
 - extends
 - decorator
ES7 
10. Module
- import
 - export
 
// export default 方式  | 

