20200220 @xiaojingzhao 2020-02-20 Plan READING~ 你不知道的 js Notes js 中的类 js 中的函数是无法被真正的复制的。没有一套函数复制的标准。 寄生继承:复制父对象的定义,然后 mixin 子对象。 隐式混入:利用对父对象的函数绑定不同的 this,再在 this 上设置不同的属性来完成 mixin More Comments 0 No comments yet. Be the first! Sign in with GitHub to leave a comment.
Comments 0
No comments yet. Be the first!
Sign in with GitHub to leave a comment.