What is returned from a constructor?
<p>If I return some value or object in constructor function, what will the var get?</p>

<pre><code>function MyConstroctor()
{
    //what in case when return 5;
    //what in case when return someObject;
}

var n = new MyConstroctor();
</code></pre>

<p>what n will get in both cases?</p>

<p>Actually its a quiz question, what will be the answer?<br>
What is returned from a custom object constructor?<br>
a)The newly-instantiated object<br>
b)undefined - constructors do not return values<br>
c)Whatever is the return statement<br>
d)Whatever is the return statement; the newly-instantiated object if no return statement  </p>
