what does this prototype do?
<p>Is it making a new  version of the Number function and calling it something else?  Is there a better way to write this?</p>

<pre><code>Number.prototype.clamp = function(min, max) {
  return Math.min(Math.max(this, min), max);
};
</code></pre>

<p>Is it the same as </p>

<pre><code>Number.prototype.NumberToMystring = function(n) {
  return n.toSTring();
};
</code></pre>

<p>then NumberToMystring(5) will return "5" but as a string</p>
