ECMAScript 2016(ES7) 知多少

ECMAScript 2016(ES7) 知多少

1. 数组方法

Array.prototype.includes(value : any) : boolean

2. 幂运算符

x ** y

扩展阅读

Array.prototype.includes (Domenic Denicola, Rick Waldron)
Exponentiation Operator (Rick Waldron)

posted @ 2018-04-20 18:51  大志若愚  阅读(139)  评论(0编辑  收藏  举报