Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

峰哥,在 6.3.4 多重继承 这里的专门用了继承链而不是原型链,因为 M2 是不在子类原型链上的只有属性和方法在里面,这里提一下会不会更好 #243

Closed
Jamcy123 opened this issue Apr 17, 2022 · 1 comment

Comments

@Jamcy123
Copy link

Jamcy123 commented Apr 17, 2022

image
峰哥,在 6.3.4 多重继承 这里的专门用了继承链而不是原型链,因为 M2 是不在子类原型链上的,只有属性和方法在里面,这里提一下这个点会不会更好(一点小建议)

@ruanyf
Copy link
Contributor

ruanyf commented Apr 20, 2022

继承某个对象,就是继承它的属性和方法。

如果这里准确表达,就找不到简洁的说法,觉得有点累赘。表达效果还不如现在。

@ruanyf ruanyf closed this as completed Apr 20, 2022
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

No branches or pull requests

2 participants