ES7(ES2016)和ES8(ES2017)新特性

ES7新特性

1.Array.prototype.includes
2.Exponentiation Operator(求冥运算)

ES8新特性

1.Object.values/Object.entries
2.String padding(字符串填充)
3.Object.getOwnPropertyDescriptors
4.函数参数列表和调用中的尾逗号(Trailing commas)
5.异步函数(Async Functions)

原文地址:https://www.cnblogs.com/tangh/p/8520771.html