Javascript Number pow(n)

Description

Javascript Number pow(n)


// Usage of Math.pow in prototype definition.
Number.prototype.pow = function (n) {
 return Math.pow(this, n);
};



PreviousNext

Related