JavaScript: How does 'new' work internally
<p>Probably the least understood part of JavaScript, standing beside the prototype chain.</p>

<p>So the question is: how does...</p>

<pre><code>new dataObj(args); 
</code></pre>

<p>...actually create an object, and define its prototype chain/constructors/etc?</p>

<p>Best is to show an alternative, to fully understand this keyword.</p>
