新提出来的特性是将 ** 做为指数操做的中缀运算符:git
**
x ** y
与如下表达式运算结果相同:github
Math.pow(x, y)
示例:spa
let squared = 3 ** 2; // 9 let num = 3; num **= 2; console.log(num); // 9
扩展阅读:code