JS
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.