a ={ x:function(){console.log(1)}}function B(){ this.y = function(){}}想var b = new B();b = { x:..., y:....}请问如何实现 查看完整描述