ES7 特性:
1.Array.prototype.includes
let arr = ['react', 'angular', 'vue'] // Correct if (arr.includes('react')) { console.log('Can use React') }
2.Exponentiation Operator(求幂运算)
ES7 特性:
1.Array.prototype.includes
let arr = ['react', 'angular', 'vue'] // Correct if (arr.includes('react')) { console.log('Can use React') }
2.Exponentiation Operator(求幂运算)
转载于:https://www.cnblogs.com/gpzhen/p/8610805.html