The exponentiation operator has the same purpose as Math.pow(). It accepts base on its left-hand side and exponent on its right-hand side and returns the first argument raised to the power of the second argument.

See the Pen thecodelog.com - ES7 Exponentiation Operator 1 by Deano (@deangilewicz) on CodePen.

One advantage to using the exponentiation operator is that you can have more than two to the powers of.

See the Pen thecodelog.com - ES7 Exponentiation Operator 2 by Deano (@deangilewicz) on CodePen.