Javascript Number square(n)
Number.square = function(n) { return n * n/*from w ww .j a v a 2 s. co m*/ }