通知短信+运营短信,5秒速达,支持群发助手一键发送🚀高效触达和通知客户 广告
#### Array.prototype.includes > Includes 方法用来检测数组中是否包含某个元素,返回Boolean,[indexOf](https://www.runoob.com/jsref/jsref-indexof-array.html)也可以实现类似功能 ~~~ const mingzu = ['西游记','红楼梦','三国演义','水浒传'] console.log(mingzhu.includex('西游记')) // true ~~~ ~~~ console.log(2**10)      // 1024 console.log(Math.pow(2,10))  // 1024 ~~~ > ES7中引入指数运算符 \*\* ,用来实现幂运算,功能与Math.pow结果相同 #### 指数操作符 \*\*