So I know I can do this...
Number.prototype.square = function () { return this * this }
[Function]
4..square()
16
Is there a way to inherit from the Number function so that I don't have to modify the Number prototype? With a function or object, I can inherit like this...
var NewObject = new Object()
var NewFunction = new Function()
Is there a was to do something similar w/ Number?