JavaScript constructor alternative
<p>Since it is not possible to use <code>new</code> operator with an <code>arguments</code> array (.call or .apply), Then I wondering if I can do it by hand.  </p>

<p>In the following code, are <code>obj1</code> and <code>obj2</code> equivalent (in ES3) ?</p>

<pre><code>function MyClass(a, b, c) {}

var obj1 = new MyClass(2,3,4)

var tmp = function() {}
tmp.prototype = MyClass.prototype;
var obj2 = new tmp;
obj2.constructor = MyClass;
MyClass.call(obj2, 2,3,4);
</code></pre>

<p><strong>- edit1 -</strong></p>

<p>Does your answers mean that the above code is wrong or is not equivalent to an object construction ?</p>
