← Back to release summary

Exponentiation Operator (** / **=)

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 52)
Intent stage
None

Summary

Provides an arithmetic operator equivalent of Math.pow(), in which the lefthand-side expression serves as the base value, and the righthand-side expression serves as the exponent.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Exponentiation

Samples: http://www.2ality.com/2016/02/exponentiation-operator.html https://blog.mariusschulz.com/2015/11/24/the-exponentiation-operator-in-javascript

View on chromestatus.com