I am not getting this into my head properly. I have seen a question which is related to it, but could not quite get anything out of it.
function Shane(){}
var sha = new Shane();
console.log(sha.__proto.__.__proto.__.__proto.__) //null
console.log(sha.constructor.prototype.constructor.prototype.
constructor.prototype)
//Shane [Can anyone explain me what5 is happening here]
- Is
constructor.prototype != .__proto.__
? - Why do we have two ways to know the
prototype
chain?