I am trying for a while to switch constructor for a object and I am failing. Continuing code will show example of what I need. Thanks.
try:
Me.prototype = new You(); Me.prototype.constructor = You; somebody = new Me(); alert(somebody.name);