g.js — graphical objects for JavaScript

powpow

Raise a number to the given power.

g.pow(2, 3);

Parameters

  • base: The base number
  • exponent: The exponent used to raise the base.