exponentiation operator in javascript

All Articles

#exponentiation in javascipt, #exponentiation symbol , #operator #arithmetic operator #javascipt

exponentiation  operator in javascript

Exponentiation  operator in javascript

The result of increasing the first operand to the power of the second operand is returned by the exponentiation (**) operator.

•    The exponentiation operator (**) raises the first operand to the power of the second operand.

let x = 5;
let z = x ** 2;

o/p= 5sq=25

•    x ** y produces the same result as Math.pow(x,y):

      let x = 5;
      let z = Math.pow(x,2);



There has been rapid development and changes in information technology plateform. so javascript is tranding in market .We  write article on exponentiation  operator  and there is many operator like   Arithmetic Operators; Assignment Operators; Comparison Operators; String Operators; Logical Operators .see you in next topic of javascript .If you feel any doubt and query  please connect on social medium patform on below in bottom.