*Hi,

How about people coming up with brain storming questions in Javascript which
need deep understanding of the language and are little painful to think
completely.

Here goes my question:*

function Gadget(name, color){
    this.name = name;
    this.color = color;
}

Gadget.prototype.rating = 3;

var newtoy = new Gadget('webcam', 'black');

1) newtoy.constructor.prototype.constructor.prototype.constructor.prototype
= ??
2) newtoy.__proto__.__proto__.__proto__ = ??


-Regards
*Amit Agarwal <http:///www.amitagrwal.com>*

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to