**
) The exponentiation operator (**
) is an ECMAScript 2016 feature by Rick Waldron.
**
is an infix operator for exponentiation:
produces the same result as
Normal use:
Exponentiation assignment operator:
Using exponentiation in a function (Pythagorean theorem):
The exponentiation operator binds very strongly, more strongly than *
(which, in turn, binds more strongly than +
):