difference between these functions
<p>What is the difference between these 3 functions? What use is the new operator in the second function? Why should one use the first function over the third function?</p>

<p><strong>First</strong></p>

<pre><code>var person = function(name){
    this.name = alert(name);
};

var k = new person('kkkk');
var j = new person('jjjj');
</code></pre>

<p><strong>Second</strong></p>

<pre><code>var person2 = function(name){
    person2.name = alert(name);
};

var k2 = new person2('kkkk2');
var j2 = new person2('jjjj2');
</code></pre>

<p><strong>Third</strong></p>

<pre><code>var person3 = function(name){
    person3.name = alert(name);

};

var k3 = person3('kkkk3');
var j3 = person3('jjjj3');
</code></pre>
