Function pow

  • Compute the value of a base expression raised to a specified power.

    Parameters

    • x: number

      The base value of the expression.

    • y: number

      The exponent value of the expression.

    Returns number

    Returns the base expression raised to a power.

    Since

    0.1.0

    Example

    pow(2,3)
    // => 8