The exponentiation operator (
**) is an ECMAScript proposal by Rick Waldron. It is at stage 4 (finished) and part of ECMAScript 2016.
** is an infix operator for exponentiation:
x ** y
produces the same result as
let squared = 3 ** 2; // 9 let num = 3; num **= 2; console.log(num); // 9