pow Method (Windows Scripting - JScript)

 

Returns the value of a base expression taken to a specified power.

Syntax

Math.pow(base, exponent) 

Arguments

  • base
    Required. The base value of the expression.

  • exponent
    Required. The exponent value of the expression.

In the following example, a numeric expression equal to baseexponent returns 1000.

Math.pow(10,3);

Requirements

Version 1

Applies To: Math Object (Windows Scripting - JScript)

See Also

Math Object (Windows Scripting - JScript)