Skip to content

Conversation

@Fanrito
Copy link

@Fanrito Fanrito commented Jun 5, 2024

寄生组合式继承的代码中,输出语句console.log(person6); //{friends:"child5",name:"child5",play:[1,2,3],proto:Parent6},结果中的name应该为“parent6”

寄生组合式继承的代码中,输出语句console.log(person6); //{friends:"child5",name:"child5",play:[1,2,3],__proto__:Parent6},结果中的name应该为“parent6”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant