请写出下列代码的输出结果
var P = function(){}
P.prototype.aaa = function () {
alert("ddd")
}
var a = new P(),
b = new P();
b.prototype = P;
b.prototype.aaa = function() {
alert("cc")
}
var c = Object.create(null),
d = new Object();
console.log(P.__proto__);
console.log(P.prototype);
console.log(a.__proto__);
console.log(a.prototype);
console.log(b.prototype);
console.log(c.__proto__);
console.log(d.__proto__);
console.log(Number.__proto__);
console.log(Number.prototype);
console.log(Function.__proto__);
console.log(Function.prototype);
console.log(Function.prototype.__proto__);
console.log(Object.__proto__);
console.log(Object.prototype);
console.log(Object.prototype.__proto__);