Function pow

  • Calculates the power of a number.

    Parameters

    • n: number

      The number to be raised to the power of 2.

    Returns number

    The result of raising the number to the power of 2.