function A(){
this.x='x';
}
function B(){
this.y='y';
}
B.prototype=new A();
B.prototype.constructor=B;
为什么原型链是 B---Object(A的实例)---A.prototype---Object?
明明是A的实例为什么显示Object? 
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
chrome版本不一样原型链竟然也不一样...