function Test()
{
this.name = 'test name';
}
console.log(Test.prototype.constructor.prototype.constructor);
I can't understand why is this a infinite chain of constructor - prototype?
I mean which are the purpose of this chain and why there is no end, the prototype has a constructor and the constructor has a prototype, its a loop-chain, and the constructor everytime is the same, can't imagine...