Skip to content

Update: inherit.md 修改一个错误#437

Open
Fanrito wants to merge 1 commit intofebobo:masterfrom
Fanrito:master
Open

Update: inherit.md 修改一个错误#437
Fanrito wants to merge 1 commit intofebobo:masterfrom
Fanrito:master

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

Comments