Merge pull request #619 from wfzong/patch-2

给当前对象加上同名属于,形成对比
This commit is contained in:
Ruan YiFeng
2018-03-04 20:07:11 -06:00
committed by GitHub
+1
View File
@@ -1032,6 +1032,7 @@ const proto = {
};
const obj = {
foo: 'world',
find() {
return super.foo;
}