Difference between using or not using prototype: they seem apparently to do the same
<p>What's the difference between using or not using <code>prototype</code>? They apparently do the same.</p>

<p>With <code>prototype</code>:</p>

<pre><code>function poligon(angles){
     this.angles = angles;
}
poligon.prototype.color = function(){ return "blue"; }

var mypol = new poligon(14);

alert(mypol.color());
</code></pre>

<p>Without <code>prototype</code>:     </p>

<pre><code>function poligon(angles){
     this.angles = angles;
}
poligon.color = function(){ return "blue"; }

var mypol = new poligon(12);

alert(poligon.color());
</code></pre>

<p>What does it really mean adding a "color" object with <code>prototype</code> and without it?</p>
