mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
docs(proxy): edit proxy
This commit is contained in:
parent
d6d9ab4ae3
commit
ff43701be0
@ -361,6 +361,7 @@ var handler = {
|
|||||||
},
|
},
|
||||||
set (target, key, value) {
|
set (target, key, value) {
|
||||||
invariant(key, 'set');
|
invariant(key, 'set');
|
||||||
|
target[key] = value;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user