es2016

117 阅读1分钟
  1. Array.prototype.includes()

    ['a', 'b', 'c', 'd'].includes('a') // true
    
  2. 指数运算符

    x**y === Math.pow(x,y)